I've placed Commandbuttons on an Excel worksheet. I've written some code for some of their events under the worksheet module. Is it possible to cycle through their collection(if there is one, such as CommandButtons)?
something like:
dim Cmd as CommandButton
For each Cmd in CommandButtons
Debug.Print Cmd.Name
Next Cmd
Thanks,
Assaf
something like:
dim Cmd as CommandButton
For each Cmd in CommandButtons
Debug.Print Cmd.Name
Next Cmd
Thanks,
Assaf