OwnStatus Property

Microsoft Word Visual Basic

OwnStatus Property

       

Specifies the source of the text that's displayed in the status bar when a form field has the focus. If True, the text specified by the StatusText 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