Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Determine which button

OK I'm dumb. I asked this question a few months ago and
got the answer. Only trouble is I forgot to save it and
my memory is horrible.

I have multiple form buttons all assigned to the same
macro. How do you determine within the macro which button
called it?

Thanks for any help,
Senile
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Determine which button

Hi Senile

Application.Caller you can use

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Senile" wrote in message ...
OK I'm dumb. I asked this question a few months ago and
got the answer. Only trouble is I forgot to save it and
my memory is horrible.

I have multiple form buttons all assigned to the same
macro. How do you determine within the macro which button
called it?

Thanks for any help,
Senile



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Determine which button

That was it!! Thanks very much Ron!

-----Original Message-----
Hi Senile

Application.Caller you can use

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Senile" wrote in

message ...
OK I'm dumb. I asked this question a few months ago and
got the answer. Only trouble is I forgot to save it and
my memory is horrible.

I have multiple form buttons all assigned to the same
macro. How do you determine within the macro which

button
called it?

Thanks for any help,
Senile



.

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
Undo button and redo button quit stillkicking Excel Discussion (Misc queries) 7 November 14th 09 04:40 PM
Inserting a Graphic on a Button when the Button is Assigned to a M smck Excel Discussion (Misc queries) 2 October 27th 09 04:46 PM
How to determine button reference Lon Sarnoff Setting up and Configuration of Excel 1 June 4th 05 04:22 AM
How do I lock a radio button group if a N/A button is selected worry a lot Excel Discussion (Misc queries) 2 May 21st 05 08:33 PM
How to determine which button was clicked on the modified right-click menu Patrick Choi Excel Programming 1 September 1st 03 02:07 PM


All times are GMT +1. The time now is 03:29 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"