J
Jack Bowling
Hello all,
I am trying to determine which button was pressed on a Worksheet. I have
10 buttons that use the same code. I need to know which button was pressed
so I don't need 10 copies of the same code. I am using the Click event for
the button. I have tried using Application.Caller to determine the button
but I get an error code instead of an object or name. I have tried using the
ME keyword but I get a reference to the worksheet not the button that the
event belongs too. Any suggestions would be appreciated.
Thanks
Jack
I am trying to determine which button was pressed on a Worksheet. I have
10 buttons that use the same code. I need to know which button was pressed
so I don't need 10 copies of the same code. I am using the Click event for
the button. I have tried using Application.Caller to determine the button
but I get an error code instead of an object or name. I have tried using the
ME keyword but I get a reference to the worksheet not the button that the
event belongs too. Any suggestions would be appreciated.
Thanks
Jack