SummaryViewMode Property

Applies To

Document object.

Description

Returns or sets the way a summary is displayed. This property corresponds to Type of summary in the AutoSummarize dialog box (Tools menu). Read/write Long.

Can be one of the following WdSummaryMode constants.

Constant

Description

wdSummaryModeHighlight

Highlights the key points in the specified document and displays the AutoSummarize toolbar.

wdSummaryModeInsert

Inserts a summary at the beginning of the specified document.

wdSummaryModeCreateNew

Creates a new document and inserts the specified summary.

wdSummaryModeHideAllButSummary

Hides everything except the specified summary and displays the AutoSummarize toolbar.


See Also

AutoSummarize method, ShowSummary property, SummaryLength property.

Example

This example hides everything in the active document except the summary text.

With ActiveDocument
    .SummaryViewMode = wdSummaryModeHideAllButSummary
    .SummaryLength = 60
    .ShowSummary = True
End With