Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to have multiple command buttons call a single procedure and
that procedure displays a msgbox that shows the name of the button which called it. Can anyone help with the correct code? I've tried several things that have not worked. The only solution I came up with is having the 'click' method of the buttons call the single procedure and pass the name as a variable. the problem with this if I expland the scenario to 20+ command buttons, there is a lot of excess 'click' method code which seems redundant. Thanks in advance for any help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
CmdButton on worksheet1 missing | Excel Discussion (Misc queries) | |||
While sheet is protected, allow cmdButton to refresh query. | Excel Programming | |||
Add to CmdButton | Excel Programming | |||
How to pass a variable from Form back to calling procedure | Excel Programming | |||
hide/unhide cell when clicking a cmdbutton | Excel Programming |