Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default SmartDocument: RefreshPane() doesn't update TaskPane immediately

.... resolved, a type cast caused an exception, so RefreshPane() wasn't
executed. The 'Target' parameter in ISmartDocument.InvokeControl contains an
Excel.Workbook if the XML type name is
namespace#actionPertainsToEntireSchema. The documentation mentions only
Excel.Range...


"Beat Bucheli" schrieb im Newsbeitrag
...
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I remove the help taskpane from a template? getnbent Excel Discussion (Misc queries) 0 April 20th 07 09:20 PM
XL / Office taskpane won't go away nastech Excel Discussion (Misc queries) 0 September 19th 06 03:58 AM
Update a chart immediately after inputting data into data source MELMEL Charts and Charting in Excel 1 December 1st 05 09:34 PM
Unsolicited taskpane/clipboard Hari Excel Discussion (Misc queries) 0 December 31st 04 11:23 AM
SmartDocument events Johannes[_3_] Excel Programming 0 February 24th 04 03:46 AM


All times are GMT +1. The time now is 09:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"