How can i call a function on another worksheet

J

Jorge Ribeiro

Hello

Supose that i have a worksheet called sheetTst that has a function called
GetNumber

In my excel app i create severeal worksheets dinamically of that type.
How can i call GetNumber of a worksheet i have just created?

regards

Jorge
 
B

Bob Phillips

Functions aren't on a worksheet, they are used on a worksheet. You should be
able to call it from any sheet.
 
T

The Code Cage Team

Do you mean you want the code for the CALL adding to the worksheet cod
module? or populating a cell with the function?, if you store the UDF i
a standard module then you can simply use the function on any workshee
as said:
Functions aren't on a worksheet, they are used on a worksheet. Yo
should be
able to call it from any sheet.

--
__________________________________
HTH

Bob

message

--
The Code Cage Tea

Regards,
The Code Cage Team
'The Code Cage' (http://www.thecodecage.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top