Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Gray Treeview item in VBA

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Gray Treeview item in VBA

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.

"Joseph Felcon" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Gray Treeview item in VBA

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").

"Joel" wrote:

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.

"Joseph Felcon" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
To find rate of each item from item.xls and to copy price.xls pol Excel Discussion (Misc queries) 7 July 16th 09 12:49 AM
Item numbers result in item description in next field in Excel Cheryl MM Excel Worksheet Functions 1 February 20th 07 03:51 PM
How to display the first Item in a combobox as the default item Nigel Excel Programming 2 December 8th 06 10:21 PM
How to display the first Item in a combobox as the default item Jim Cone Excel Programming 0 December 8th 06 06:42 PM
Pivot Item: removing non-existant item from the drop down CinqueTerra Excel Programming 2 February 23rd 06 08:47 PM


All times are GMT +1. The time now is 06:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"