I've just come across the treeview control and it seems perfect for what I want but I have no idea how to write any code for it.
On the attached example, I have created a userform and added the control to the form. What I want is for the parent node (I think that is the right terminology!) to be each unique 'market' name from column F of the worksheet 'Selections' then within each Market node I want there to be a node with the selections (Column G of the Selections worksheet) for that market and the Live Price from column on this same node.
So, basically the first parent node should be '90 Mins' with three children 'Bournemouth 8/13', 'Draw 27/100', 'Chesterfield 9/5'.
i.e.
- 90 Mins
Bournemouth 8/13
Draw 27/100
Chesterfield 9/5
+ Correct Score
+ Under/Over 1.5 Goals
+ Under/Over 2.5 Goals
Does that make sense???
Bookmarks