LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Buttons assigned to a macro

Thank you Harald. That's exactly what I needed.

Tok
-----Original Message-----
Hi Tok

Yes:
MsgBox Application.Caller

--
HTH. Best wishes Harald
Excel MVP

Followup to newsgroup only please.

"Tokash" wrote in message
...
In Excel, if I have several buttons (shapes) assigned to
run the same macro, is there a way within the macro to
identify the button which was clicked on to execute it?

Thanks for any advice!

Tok



.

 
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
Use Macro To Change Which Macro Assigned To Command Button CVinje Excel Discussion (Misc queries) 0 May 25th 10 09:55 PM
Macro assigned to a button Sadcrab Excel Discussion (Misc queries) 12 December 8th 06 11:16 PM
How do I know what macro is assigned to a button? Denise in NC Excel Discussion (Misc queries) 3 April 3rd 06 02:31 PM
copy macro assigned buttons in an array Phatboy_D Excel Worksheet Functions 1 December 1st 04 10:01 PM
Problem with macros assigned to toolbar buttons Greg Wilson[_3_] Excel Programming 1 September 8th 03 07:50 PM


All times are GMT +1. The time now is 03:38 AM.

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"