Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I remove the help taskpane from a template? | Excel Discussion (Misc queries) | |||
XL / Office taskpane won't go away | Excel Discussion (Misc queries) | |||
Update a chart immediately after inputting data into data source | Charts and Charting in Excel | |||
Unsolicited taskpane/clipboard | Excel Discussion (Misc queries) | |||
SmartDocument events | Excel Programming |