UpdateSummaryProperties Method

Microsoft Word Visual Basic

UpdateSummaryProperties Method

       

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

expression.UpdateSummaryProperties

expression   Required. An expression that returns 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).

With ActiveDocument
    .AutoSummarize Length:=wd25Percent, _
        Mode:=wdSummaryModeHighlight
    .UpdateSummaryProperties
End With