SmartDocument.RefreshPane method (Office)
Refreshes the Document Actions task pane for the active document in Microsoft Word or a workbook in Microsoft Excel.
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.
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
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.