J
jmoffat
If you have assigned a macro to a shape - say a button from the form
bar - and you then activate the macro by clicking on the button, doe
anyone know the code to obtain the name of the button you clicked on ?
I think it should be along the lines of:
but_name = Activesheet.shapes.selection.name
but of course that doesn't work
bar - and you then activate the macro by clicking on the button, doe
anyone know the code to obtain the name of the button you clicked on ?
I think it should be along the lines of:
but_name = Activesheet.shapes.selection.name
but of course that doesn't work