Share via


FormField.OwnHelp Property

Word Developer Reference

Specifies the source of the text that's displayed in a message box when a form field has the focus and the user presses F1. Read/write Boolean.

Syntax

expression.OwnHelp

expression   An expression that returns a FormField object.

Remarks

If True, the text specified by the HelpText property is displayed. If False, the text in the AutoText entry specified by the HelpText property is displayed.

Example

This example sets the help text for the first form field in the current section to the contents of the AutoText entry named "Sample."

Visual Basic for Applications
  With Selection.Sections(1).Range.FormFields(1)
    .OwnHelp = False
    .HelpText = "Sample"
End With

See Also