ShowHeading Method

See Also         Example         Applies To

Shows all headings up to the specified heading level and hides subordinate headings and body text.

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

Syntax

expression.ShowHeading(Level)

expression   Required. An expression that returns a View object.

Level   Required Long. The outline heading level (a number from 1 to 9).