Syntax

expression.RefreshPane

expression A variable that represents a SmartDocument object.

Remarks

The RefreshPane method raises an error if the active document does not have an XML expansion pack attached.

Example
The following example determines whether the active Excel workbook has an XML expansion pack attached. If so, it refreshes the smart document's Document Actions task pane.

Visual Basic for Applications
 Dim objSmartDoc As Office.SmartDocument Set objSmartDoc = ActiveWorkbook.SmartDocument If objSmartDoc.SolutionID > "None" Then objSmartDoc.RefreshPane Else MsgBox "No XML expansion pack attached." End If 
ofv refresh refresh pane refreshpane refreshpane method

See also: