TaskPane Object

Microsoft Word Visual Basic

TaskPane Object

TaskPanes TaskPane

Represents a single task pane available to Microsoft Word, which contains common tasks that users perform. The TaskPane object is a member of the TaskPanes collection.

Using the TaskPane object

Use the TaskPanes property to return a TaskPane object. Use the Visible property to display an individual task pane. This example displays the formatting task pane.

Sub FormattingPane()
    Application.TaskPanes(wdTaskPaneFormatting).Visible = True
End Sub