OwnStatus Property

Microsoft Word Visual Basic

property is displayed. If False, the text of the AutoText entry specified by the StatusText property is displayed. Read/write Boolean.

expression.OwnStatus

expression    Required. An expression that returns a FormField object.

Example

This example sets the status bar text for the form field named "Account" to the contents of the AutoText entry named "Acct."

With ActiveDocument.FormFields("Account")
    .OwnStatus = False
    .StatusText = "Acct"
End With