TaskPanes Property

Microsoft Word Visual Basic

expression.TaskPanes

expression    Required. An expression that returns an Application object.

Example

The following example displays the task pane that contains information about formatting in a document.

Sub showFormatting()
    Application.TaskPanes.Item(wdTaskPaneFormatting).Visible = True
End Sub