ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Why is TreeView updated/refreshed when saving workbook? (https://www.excelbanter.com/excel-programming/386045-why-treeview-updated-refreshed-when-saving-workbook.html)

JimAnAmateur[_2_]

Why is TreeView updated/refreshed when saving workbook?
 
I am using a TreeView of (Microsoft TreeView Control 6.0 (SP4)) in an Excel
sheet (Excel 2003).

When I click on Save (File | Save), it seems that the TreeView is being
updated/refreshed/rebuilt while saving the file, and after saving, all the
nodes are expanded.

Why?
How can I avoid this "unintentional" save?
or, at least, after this "unintentional" save, how can I Collapse all the
nodes again? I did not find
a) "Work book_AfterSave" (only "Workbook_beforeSave"), and
b) "CollapseAll" in MS TreeView Control that I am using.

Thanks in advance!

br Jim




All times are GMT +1. The time now is 11:39 PM.

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