Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 202
Default How to use TreeView control

Hello,

Please, I need help about how to use TreeView control properties trough VBA
for Applications in Microsoft Excel.


Regards!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How to use TreeView control

A simple example

With Me
' Specify the linestyle
.TreeView1.LineStyle = tvwRootLines
With .TreeView1.Nodes
'add a parent node
.Add , , "Dad", "Bill"
'now add child nodes
.Add "Dad", tvwChild, "Son1", "John"
.Add "Dad", tvwChild, "Son2", "Tommy"
.Add "Dad", tvwChild, "Daughter", "Mary"
'now add child of child nodes
.Add "Son2", tvwChild, "GrandDaughter", "Alison"
End With
End With


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Dennis" wrote in message
...
Hello,

Please, I need help about how to use TreeView control properties trough

VBA
for Applications in Microsoft Excel.


Regards!



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
VBA Form MS Treeview Control v.6 [email protected][_2_] Excel Programming 2 February 8th 06 05:10 PM
Treeview Control Manfred Senn Excel Programming 4 May 12th 05 08:40 PM
Need help with Treeview control ?? Dan Thompson Excel Programming 5 December 9th 04 10:54 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


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