Syntax
OutlineCollapse
Remarks
Collapses one level of heading or body text under the selected headings. If the active document is not in outline or master document view, an error occurs.
Example
This example collapses every heading in the document by one level:
ViewOutline EditSelectAll OutlineCollapse
See Also
OutlineExpand, ShowAllHeadings