FormField.HelpText Property

Word Developer Reference

Returns or sets the text that's displayed in a message box when the form field has the focus and the user presses F1. Read/write String.

Syntax

expression.HelpText

expression   A variable that represents a FormField object.

Remarks

If the OwnHelp property is set to True, HelpText specifies the text string value. If OwnHelp is set to False, HelpText specifies the name of an AutoText entry that contains help text for the form field.

Example

This example sets the help text for the form field named "Name."

Visual Basic for Applications
  With ActiveDocument.FormFields("Name")
    .OwnHelp = True
    .HelpText = "Type your full legal name."
End With

See Also