ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   delete a node in treeview (https://www.excelbanter.com/excel-programming/329407-delete-node-treeview.html)

Mark

delete a node in treeview
 
In a treeview, a node is added with the add method.

How can child nodes be delete?

I've tried .delete, and .remove .

Thanks,
Mark

Mark

delete a node in treeview
 
Ahh, got it.

treevie1.nodes(index).remove

I was just trying to do it from the selected node, but apparently it has to
be removed from the nodes collection.

Got it.




All times are GMT +1. The time now is 01:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com