View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sean Sean is offline
external usenet poster
 
Posts: 208
Default how to get commandbutton name

Hi All,

I have 3 commandbuttons that all run the same piece of code. In the code, I
want to identify in the peice of code which of the commandbuttons were
clicked to run the code. I just want to get the name, like commandbutton1 or
commandbutton2. Is this possible?
thanks