TaskPanes Collection

TaskPanes Collection
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Application
Aa168205.parchild(en-us,office.10).gifTaskPanes
Aa168205.space(en-us,office.10).gifAa168205.parchild(en-us,office.10).gifTaskPane

A collection of TaskPane objects that contains commonly performed tasks in Microsoft Word.

Using the TaskPanes collection

Use the TaskPanes property to return the TaskPanes collection. Use the Item method with a wdWorkPane constant to refer to a specific task pane. The example below displays the formatting task pane.

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