Compartilhar via


Document.UpdateSummaryProperties Method

Word Developer Reference

Updates the keyword and comment text in the Properties dialog box (File menu) to reflect the AutoSummary content for the specified document.

Syntax

expression.UpdateSummaryProperties

expression   Required. A variable that represents a Document object.

Example

This example highlights key points in the active document and updates the summary information in the Properties dialog box (File menu).

Visual Basic for Applications
  With ActiveDocument
    .AutoSummarize Length:=wd25Percent, _
        Mode:=wdSummaryModeHighlight
    .UpdateSummaryProperties
End With

See Also