HelpContextID property
The HelpContextID property associates a specific topic in a custom Microsoft Windows Help file with a specific control.
Syntax
object.HelpContextID [= Long ]
The HelpContextID property syntax has these parts:
Part | Description |
---|---|
object | Required. A valid object. |
Long | Optional. A positive integer specifies the context ID of a topic in the Help file associated with the object. Zero indicates no Help topic is associated with the object (default). Must be a valid context ID in the specified Help file. |
Remarks
The topic identified by the HelpContextID property is available to users when a form is running. To display the topic, the user must either select the control or set focus to the control, and then press F1.
The HelpContextID property refers to a topic in a custom Help file that you have created to describe your form or application. In Visual Basic, the custom Help file is a property of the project.
See also
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.