Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Name of button
these are buttons from the forms toolbar?
If you have a macro assigned to that button: dim myBTN as Button set myBTN = activesheet(application.caller) msgbox mybtn.name & "- or - " & application.caller Agamemnon wrote: Hi I have create a macro that put some buttons on a sheet. As the buttons are created automatically I don't know what names they have. So I would like to know how I can retrieve eg. in Cell sheet1!A1 the name of the button I click on? Can somebody help me out on this one? Thx -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
insert row above button (retrieve position of button) | Excel Discussion (Misc queries) | |||
Create floating button based on button click in menu | Excel Programming | |||
Adding .xla button for Toggle Calculation Button | Excel Programming | |||
How do I lock a radio button group if a N/A button is selected | Excel Discussion (Misc queries) | |||
Delete a custom button by holding down the ALT key and dragging the button off the toolbar | Excel Programming |