I'm using VBA in excell 2007. I have a userform with 42 butons with their names ranging from dy1 to dy42. Is there a way to put these objects into an array without listing each one? In other words I would like to use the for...next loop to add them incrementally if possible. This way I can call which ever button I need when I need it. Previously I was incrementing a string and then calling the button with a select case function, and i've just discoverd how versatile arrays are but I'm still trying to learn them.
If you could help,
Thnx
If you could help,
Thnx
Comment