ANyone tell me a quick way of iterating through all nodes of a tree view looking for a key.
Many thanx.
mat
Printable View
ANyone tell me a quick way of iterating through all nodes of a tree view looking for a key.
Many thanx.
mat
If you can use the index to just get the node, or loop through it using for each
Dim N as Node
set N = Treeview1.Nodes("Somekey")
for Each N In Treeview1.Nodes
Debug.print N.Key
next N
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
thanx tom :-)