Edit

Share via


FormField.OwnHelp property (Word)

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."

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

See also

FormField Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.