StatusText Property

Microsoft Word Visual Basic

StatusText Property

       

Returns or sets the text that's displayed in the status bar when a form field has the focus. If the OwnStatus property is set to True, the StatusText property specifies the status bar text. If the OwnStatus property is set to False, the StatusText property specifies the name of an AutoText entry that contains status bar text for the form field. Read/write String.

expression.StatusText

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the status bar help text for the form field named "Age."

With ActiveDocument.FormFields("Age")
    .OwnStatus = True
    .StatusText = "Type your current age."
End With