hank1
asked on
excell object browser, help
sheets has a name property. It is used in VBA like this:
Sheets.Add
Sheets("Sheet1").Select
Sheets("Sheet1").Name = "NewName"
Ok, no big deal but how would I know this? I go into
the object browser and name is not shown as a memeber.
It's subclassed from workbook(s) but I don't see
how any name property I find relates.
How does one investigate all the properties, like a
sheets' name? If I hadn't seen an example, I never
would have known it existed.
Thanks
Sheets.Add
Sheets("Sheet1").Select
Sheets("Sheet1").Name = "NewName"
Ok, no big deal but how would I know this? I go into
the object browser and name is not shown as a memeber.
It's subclassed from workbook(s) but I don't see
how any name property I find relates.
How does one investigate all the properties, like a
sheets' name? If I hadn't seen an example, I never
would have known it existed.
Thanks
While in break mode, use the Locals window (from the View menu).
ASKER
That shows declared variables ...
It doesn't seem to allow me to browse an object
or its properties.
Does it? How would you find the name property if
you didn't it even existed?
Excell VB rookie
Thanks
It doesn't seem to allow me to browse an object
or its properties.
Does it? How would you find the name property if
you didn't it even existed?
Excell VB rookie
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'll give it shot. Wonder why the object
browser doesn't give up the goods?
browser doesn't give up the goods?
Object browser should show them to you but you need to know under which class it is.
ASKER
Wow, there's a mass of stuff in there!
This belongs in the browser!
Thanks for your help.
(Now I have to figure out how to print it for reference.)
This belongs in the browser!
Thanks for your help.
(Now I have to figure out how to print it for reference.)
I don't think that there is an easy way of printing it.