View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tokash Tokash is offline
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



.