VBA treeview

Ztcollins

Board Regular
Joined
Jun 4, 2014
Messages
69
Office Version
  1. 365
Platform
  1. Windows
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
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
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
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,193
Members
452,616
Latest member
intern444

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
Back
Top