Is there anyway to access (through VBA) properties of a form object (using the forms toolbar for pre-2007, and on the developer tab / insert / Form Controls for 2007) when it is grouped?
For example, normally you could access the max property of a Spinner control with the following code:
Sheet1.Spinners("Spinner 1").Max
OR
Sheet1.Shapes("Spinner 1").ControlFormat.Max
Near as I can tell, the only way to access an item that has been grouped is by using the shapes collection, such as:
Sheet1.Shapes("Group 1").GroupItems("Spinner 1")
The problem is that when I attempt to access a property for that control, such as
Sheet1.Shapes("Group 1").GroupItems("Spinner 1").ControlFormat.Max
I get the following error: Run-time error '1004': Unable to get the Max property of the Spinner class.
Seems like a pretty simple problem, but I'm a bit stuck. Maybe there's a way to cast the object into a spinner control object and then access it?
Any suggestions?