ShowAllHeadings Method

Applies To

View object.

Description

Toggles between showing all text (headings and body text) and showing only headings.

Note This method generates an error if the view isn't outline view or master document view.

Syntax

expression.ShowAllHeadings

expression Required. An expression that returns a View object.

See Also

ShowHeading method.

Example

This example uses the ShowHeading method to show all headings (without any body text) and then toggles the display to show all text (headings and body text) in outline view.

With ActiveWindow.View
    .Type = wdOutlineView
    .ShowHeading 9
    .ShowAllHeadings
End With