View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Beat Bucheli Beat Bucheli is offline
external usenet poster
 
Posts: 2
Default SmartDocument: RefreshPane() doesn't update TaskPane immediately

Hello,

In my Excel 2003 SmartDocument (written in .Net with VSTO), I have to
show/hide several task pane controls based on the state of other task pane
controls. So I try to update the task pane:

Application.ThisWorkbook.SmartDocument.RefreshPane ();

But this does the job only partially - the task pane changes not until
another worksheet cell ist selected. What's wrong?

Thanks
Beat