View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
JimAnAmateur[_2_] JimAnAmateur[_2_] is offline
external usenet poster
 
Posts: 16
Default 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