Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Tag Property for TreeView Node
Do indivua nodes in TreeViews have a Tag property in VBA? IF so, how you
access it upon adding the node? The code below addes the node. UserForm1.TreeView1.Nodes.Add relative:="TypeA", _ relationship:=tvwChild, _ Key:= "text1" & ":" & "text2", _ Text:= "text3" & ":" & "text4" Thanks EM |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Tag Property for TreeView Node
Dim oNode As Node
Set oNode = UserForm1.TreeView1.Nodes.Add(relative:="TypeA", _ relationship:=tvwChild, _ Key:= "text1" & ":" & "text2", _ Text:= "text3" & ":" & "text4") oNode.Tag = "Tag1" 'or whatever, it can be arrays RBS "ExcelMonkey" wrote in message ... Do indivua nodes in TreeViews have a Tag property in VBA? IF so, how you access it upon adding the node? The code below addes the node. UserForm1.TreeView1.Nodes.Add relative:="TypeA", _ relationship:=tvwChild, _ Key:= "text1" & ":" & "text2", _ Text:= "text3" & ":" & "text4" Thanks EM |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can't you hide a TreeView Node? | Excel Programming | |||
Treeview - Expand all parents of node | Excel Programming | |||
moving treeview node | Excel Programming | |||
delete a node in treeview | Excel Programming | |||
How to add a sub-node of a treeview control | Excel Programming |