HelpFile Property Example

The following example uses the HelpFile property to assign a Help file to a project; the example verifies that the assignment was successful by printing the full path of the Help file.

Application.VBE.VBProjects(1).HelpFile = "C:\HelpStuff\veenob3.hlp"
Debug.Print Application.VBE.VBProjects(1).HelpFile