As indicated in my title, I'm trying to understand the difference between declaring all of my checkboxes as objects or as OLEObjects. Does it make a difference which one I do?
Thanks
As indicated in my title, I'm trying to understand the difference between declaring all of my checkboxes as objects or as OLEObjects. Does it make a difference which one I do?
Thanks
Last edited by brharrii; 06-26-2013 at 12:42 PM.
Object is any object, it could be a shape, a worksheet, a range, another application etc
OLEObject is specifically for an OLE object.
You could use Object for an OLEObject but you wouldn't be able to use OLEObject for all the other objects.
If posting code please use code tags, see here.
DIM'ing properly helps the AutoComplete function present good options.
Gary's Student
ah ok, How can I tell if the object that I'm using is specifically an OLE object or if it is just a regular object?
Thanks again
Why do you need to?
I'm trying to implement code that when a button is pressed all check boxes on the active sheet will be set to unchecked. I don't know if it would be more appropriate to dim them as ole objects or regular objects.
How are you identifying the checkboxes?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks