Gray Treeview item in VBA

G

Guest

Anyone,

I am using Office '03 - Excel.

I have a treeview heirarchy, with checkboxes, which is assembled top-down
(of course). After I have completed the heirarchy, I wish to disable (gray
out, hide, make invisible, make unavailable, etc.) items in the top two tiers
of the hierarchy which do not have children in their third (or lower) tier(s).

Short of rebuilding the heirarchy (or imaging the heirarchy in a data
structure before building the treeview), does anyone know of a property or
method that (preferably) leaves items visible and unavailable OR renders the
item not visible?

Many thanks,
Joseph A. J. Felcon
 
G

Guest

Lot of obbjects in Excel have a visible property which you can set to either
True or False. You can make picture and chart invisiable using this method.
 
G

Guest

Sorry, I should have added that the .Visible property for individual treeview
items appears to be "read only" and attempts to assign same programmatically
yield a run-time error with that explanation (i.e.: "property is read only").
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top