Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How to add a sub-node of a treeview control

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
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



Reply
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
Need help with Treeview control ?? Dan Thompson Excel Programming 5 December 9th 04 10:54 PM
How to use Treeview control with Imagelist kvenku[_2_] Excel Programming 0 April 7th 04 01:52 PM
TreeView Control Andy Excel Programming 0 January 28th 04 12:01 PM
TreeView control Mike Caputo Excel Programming 3 November 14th 03 09:35 PM
TreeView: add more than one node to nodes collection Peter[_25_] Excel Programming 3 September 5th 03 12:15 PM


All times are GMT +1. The time now is 07:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"