refresh treeview on a node

  • Thread starter Thread starter iccsi
  • Start date Start date
I

iccsi

I wanted to refresh to delete all nodes on the tree view or to check
if noe exists then do nothing.

treeview.nodes.remove 1 to the remove whole tree, but I want to remove
children of the selected node only.

Are there any ways to complete this task?

I would like to know that can I remove all children nodes under
selected item only, not the whole tree.

or I can check if children exists then to keep the tree view do
nothing.


Your help is great appreciated,
 
hi,
treeview.nodes.remove 1 to the remove whole tree, but I want to remove
children of the selected node only.
Are there any ways to complete this task?
Press F2 in the VBA IDE, this opens the Object Browser. Search for
TreeView and inspect it and the nodes collection...

Basically you must only remove the correct node.

mfG
--> stefan <--
 
Back
Top