Richard U
Active Member
- Joined
- Feb 14, 2006
- Messages
- 406
- Office Version
- 365
- 2016
- 2010
- 2007
- Platform
- Windows
..of an OLEobject.
I've got several dozen controls that I need to reset upon opening a worksheet.
Some need to be set to false, other blank, et cetera.
Is there a way to identify their type so that I can do something like...
For each thing in sheets(1).oleobjet
'if the thing is a listbox, do "a"'
'if the thing is a checkbox, do "b
Next thing
thanks folks!
I've got several dozen controls that I need to reset upon opening a worksheet.
Some need to be set to false, other blank, et cetera.
Is there a way to identify their type so that I can do something like...
For each thing in sheets(1).oleobjet
'if the thing is a listbox, do "a"'
'if the thing is a checkbox, do "b
Next thing
thanks folks!