Table of contents
TOC
Collapse the table of content
Expand the table of content

SmartDocument.RefreshPane Method (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Concepts

SmartDocument Object

Other resources

SmartDocument Object Members

© 2018 Microsoft