Avatar of Bryce Bassett
Bryce BassettFlag for United States of America

asked on 

Can I hide checkboxes on selected nodes in an MS treeview control?

Working with MS treeview control using VBA.  Is there any way to disable the checkboxes on some treeview nodes but not on others?    I've read some posts that say checkboxes are all or nothing.  

If a node has children, I don't want to show a checkbox.  I want them to first expand the tree, then check one or more boxes only at the child level.  

I've seen many posts about this question, but most of them have C# or VB solutions, or a custom-written treeview control.  I'd prefer not to have to go that custom.  Looking for a solution I can implement with only VBA.

Is this possible, or am I barking up the wrong tree(view)?
* TreeViewMicrosoft OfficeVBA

Avatar of undefined
Last Comment
Fabrice Lambert
ASKER CERTIFIED SOLUTION
Avatar of Fabrice Lambert
Fabrice Lambert
Flag of France image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Microsoft Office
Microsoft Office

Microsoft Office is an integrated suite of applications that includes Outlook, Word, Excel, Access, PowerPoint, Visio and InfoPath, along with a number of tools to assist in making the individual components work together. Coding within and between the projects is done in Visual Basic for Applications, known as VBA.

80K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo