R
Richard
Greetings All,
I am trying to find out what is the VBA code that identifies what button has been clicked? In short, is there a way to identify the button's name without first knowing what button has been clicked?
The goal is to write a macro that all buttons are assigned to. The macro must know the name of the button before proceding and therefore the proper routine is then used. Since the routine would be similar for each button, with only minor changes, copying the majority of code seems wasteful for each button.
Thanks.
Richard
I am trying to find out what is the VBA code that identifies what button has been clicked? In short, is there a way to identify the button's name without first knowing what button has been clicked?
The goal is to write a macro that all buttons are assigned to. The macro must know the name of the button before proceding and therefore the proper routine is then used. Since the routine would be similar for each button, with only minor changes, copying the majority of code seems wasteful for each button.
Thanks.
Richard