I need to remove a node from a treeview. When I run the code with this line...
...the program stops with the word "Remove" highlighted and an error message saying "Expected function or variable."
Any ideas?
Doug
A nose by any other name still smells the same.
Code:
Set nodX2 = tvNodes(2).Nodes.Remove(tvNodes(1).SelectedItem.Key)
...the program stops with the word "Remove" highlighted and an error message saying "Expected function or variable."
Any ideas?
Doug
A nose by any other name still smells the same.