View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Rob van Gelder[_4_] Rob van Gelder[_4_] is offline
external usenet poster
 
Posts: 1,236
Default How to add a sub-node of a treeview control

Of the arguments for Nodes.Add:
Relative : is the node for which you are creating a subnode, ie your root
node.
Relationship : tvwChild

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"JohnDing" wrote in message
...
Dear all,

I can use 'Set nd=TreeView1.Nodes.add' to add a root node
but I can't(do not know how to do) add a sub-node the
certain node, could someone kindly help?

Thank,
John