Dim Tree As MSComCtlLib.Treeview
Dim Node as MSComCtlLib.Node
[COLOR="Green"]'the treeview activex control is the object in the access customcontrol[/COLOR]
Set Tree = Me.TreeCtl.Object
[COLOR="Green"]'and we can get a node from the nodes collection[/COLOR]
Set Node = Tree.Nodes("SomeNodeKey")
[COLOR="Green"]'to select a node do one of ...[/COLOR]
Node.Selected = True
[COLOR="Green"]' - or -[/COLOR]
Tree.SelectedItem = Node