VBA treeview

Ztcollins

New Member
Joined
Jun 4, 2014
Messages
38
I am doing the parent, child method on the treelist that i am doing on a workbook. The list of data i am trying to make into this list is extensive. I am looking for suggestions to the worksheet i am linking on how to either layout my list better or be able to select specific cells.




The way i am doing this at this time is just not efficient, or at least i dont know any better way.




What i am having issue with is the multiple lvls. Most the treeviews i see only show 2 rows of data... a column selection and a row selection.


You will see the list i have is 4 trees of data. So it would be Parent - Child, Then Child-Gchild, then Gchild-GGchild, and finally GGchild-GGGChild. (On my data list that data is around line 325....) and even at line 407 this is only half the list. Again i am not looking for someone to write the whole code just looking help to put this together the most efficient way....


Thanks in advance to any and all help, information that is provided.


https://1drv.ms/x/s!AiCZb_GZ2FZegdt32zj6XK6jXT7k5g?e=kAYV88
 

Some videos you may like

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Rijnsent

Well-known Member
Joined
Oct 17, 2005
Messages
1,300
Office Version
  1. 365
Platform
  1. Windows
Re: VBA treeview help

Hi ZtCollins,
I see you've made a list and have a userform in that workbook, but what are you trying to achieve? As in: what should the user do and see? I'm looking for the user flow here, as that's the most important part to answer your question.
Cheers,
Koen
 

Watch MrExcel Video

Forum statistics

Threads
1,122,736
Messages
5,597,819
Members
414,179
Latest member
anthelsene

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top