LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default Interesting Treeview problem.

Does somebody have a routine that finds the order of the nodes in a Treeview
control, using the indices and parent indices, but not using the actual
treeview?
I have an array with in column one the index of the nodes and in column 2
the parent index of the nodes.
The array is ordered ascending on column one.
What I have to do is get the order of the nodes in column three, using only
the information in columns one and two of the array.
With order of the nodes I mean the order they appear on the screen from top
to bottom.

This an example of the array where this has been done:

1 1
2 1 2
3 2 3
4 3 4
5 3 10
6 3 11
7 3 13
8 3 14
9 3 15
10 3 16
11 3 17
12 6 12
13 3 18
14 13 19
15 3 22
16 3 23
17 16 24
18 3 25
19 18 26
20 18 27
21 20 28
22 3 29
23 22 30
24 22 31
25 24 32
26 22 33
27 26 34
28 26 35
29 28 36
30 13 20
31 30 21
32 3 37
33 32 38
34 4 5
35 34 6
36 34 7
37 34 8
38 37 9


Thanks for any assistance.

 
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
Interesting Formula Problem Michael Laferriere Excel Worksheet Functions 6 March 9th 07 12:44 AM
Interesting TIF file problem TBird Excel Discussion (Misc queries) 5 July 5th 05 10:32 PM
strange problem For Each loop in Treeview Peter Beach Excel Programming 12 August 26th 03 02:46 PM
strange problem For Each loop in Treeview RB Smissaert Excel Programming 0 August 25th 03 07:18 PM


All times are GMT +1. The time now is 06:30 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"