ExpandHelp Property

Microsoft Word Visual Basic

ExpandHelp Property

Sets or returns a Boolean that represents whether the specified smart document Help text control is expanded or collapsed in the Document Actions task pane. True indicates the control is expanded. False indicates the control is collapsed.

expression.ExpandHelp

expression    Required. An expression that returns a SmartTagAction object.

Remarks

For more information on smart documents, refer to the Smart Document Software Development Kit on the Microsoft Developer Network (MSDN) Web site.

Example

The following example collapses the specified Help text. This example assumes that the first action for the first smart tag in the active document is a Help text control.

    ActiveDocument.SmartTags(1) _
    .SmartTagActions(1).ExpandHelp = False