Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Call workbook function

I am using Excel 2000.
I have created a command button on a worksheet. On clicking this button, I
want a procedure in ThisWorkbook to run. What is run with the following ?

Private Sub BtnRetrieve()

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Call workbook function

There is a bit missing.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Selina" wrote in message
...
I am using Excel 2000.
I have created a command button on a worksheet. On clicking this button, I
want a procedure in ThisWorkbook to run. What is run with the following ?

Private Sub BtnRetrieve()



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Call workbook function

See answer to your later posting.

Declare your procedure in ThisWorkbook as public
--
Regards,
Tom Ogilvy

"Selina" wrote in message
...
I am using Excel 2000.
I have created a command button on a worksheet. On clicking this button, I
want a procedure in ThisWorkbook to run. What is run with the following ?

Private Sub BtnRetrieve()



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 do I call number values form one workbook to another workbook Teryn Excel Worksheet Functions 3 December 29th 07 09:21 AM
Call function from one workbook that resides in another workbook m Datasort Excel Programming 3 January 16th 05 10:33 PM
How to call a function from another workbook Joe Excel Discussion (Misc queries) 4 November 26th 04 03:49 PM
Call Function From Different Workbook NQuinn Excel Programming 0 January 13th 04 06:33 PM
Call a macro in other workbook Davwe[_4_] Excel Programming 2 December 17th 03 08:14 PM


All times are GMT +1. The time now is 12:00 AM.

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

About Us

"It's about Microsoft Excel"