Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default How can i call a function on another worksheet

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default How can i call a function on another worksheet

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

--
__________________________________
HTH

Bob

"Jorge Ribeiro" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How can i call a function on another worksheet


Do you mean you want the code for the CALL adding to the worksheet code
module? or populating a cell with the function?, if you store the UDF in
a standard module then you can simply use the function on any worksheet
as normalBob Phillips;192086 Wrote:
Functions aren't on a worksheet, they are used on a worksheet. You
should be
able to call it from any sheet.

--
__________________________________
HTH

Bob

"Jorge Ribeiro" wrote in
message
...
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



--
The Code Cage Team

Regards,
The Code Cage Team
'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
The Code Cage Team's Profile: http://www.thecodecage.com/forumz/member.php?userid=2
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=52928

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to call a worksheet (as a function) Bernie Excel Discussion (Misc queries) 18 April 20th 09 06:15 PM
Identifying the worksheet and cell that contains a function call Keith Howard Excel Programming 3 December 25th 08 10:16 PM
how to make sure which worksheet call the function lvcha.gouqizi Excel Programming 4 October 21st 05 09:01 PM
can I call a worksheet function from within vba? G.R. Toro Excel Programming 2 September 30th 04 10:05 PM
how to call a function with variance which is function Name Jean-Yves[_2_] Excel Programming 1 September 1st 04 07:12 PM


All times are GMT +1. The time now is 11:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"