Foo_Man_Chu
Board Regular
- Joined
- Jul 22, 2010
- Messages
- 79
Hi all,
I'm working with a button in my spreadsheet and have come up with a question.
If I use the following code:
I get a message box that pops up with the name of the button I just clicked.
The question I have is this: what other things (methods, properties, etc) are associated with the buttons object or array or whatever it is? I've searched online but I can't find anything. For example: say that I wanted to know the number of buttons on the current sheet. Is there something like:
that I could use? The lack of documentation I have been able to find on this has been maddening.
Thanks in advance!
I'm working with a button in my spreadsheet and have come up with a question.
If I use the following code:
Code:
msgbox(activesheet.buttons(application.caller).name)
I get a message box that pops up with the name of the button I just clicked.
The question I have is this: what other things (methods, properties, etc) are associated with the buttons object or array or whatever it is? I've searched online but I can't find anything. For example: say that I wanted to know the number of buttons on the current sheet. Is there something like:
Code:
msgbox(ubound(activesheet.buttons))
that I could use? The lack of documentation I have been able to find on this has been maddening.
Thanks in advance!