Microsoft Word Suite
222
Command: auto summarize
Creates an automatic summary of the specified document, and returns a text range object.
Corresponds to the AutoSummarize options (Tools menu).
Syntax
auto summarize document Required. An expression that returns a document object.
[auto summarize length integer] Optional. The length of the summary as a percentage of the
total document length (the larger the number, the more detail thats included in the summary).
[summary mode enumeration] Optional. Specifies the way the summary is displayed. Can be
one of the following.
Constant
Description
summary mode highlight Highlights the key points in the specified document and
displays the AutoSummarize toolbar.
summary mode insert
Inserts a summary at the beginning of the specified
document.
summary mode create
new
Creates a new document and inserts the summary.
summary mode hide all
but summary
Hides everything except the summary and displays the
AutoSummarize toolbar.
[update properties Boolean] Optional. True to update the keyword and comment text in the
Properties dialog box (File menu) to reflect the content of the summary for the specified
document.
Example
This example creates an automatic summary of the active document by highlighting its key points.
auto summarize active document auto summarize length 30 ¬
summary mode summary mode highlight
Command: automatic change
Performs an AutoFormat action when there's a change suggested by the Office Assistant. If no
AutoFormat action is active, this command generates an error.
Syntax
automatic change
Example
This example completes an Office Assistant AutoFormat action if one is active.
automatic change