Article ID: 173710
Article Last Modified on 11/23/2006
Application.VBE.VBProjects<project>.HelpFile = <help file>
<object>.HelpContextId = <value>
where <project> is the name of the Visual Basic project.Application.VBE.ActiveVBProject.HelpFile = "C:\myHelp.hlp"Note that <help file> is the path and file name of the Help file and <object> is the object name of the ActiveX control on the UserForm. For example, if you are using the Toolbar control, the statement is similar to the following:
Toolbar1.HelpContextId = 1Also, <value> is the Help topic ID you want to appear when Help is displayed.
Application.VBE.VBProjects<project>.HelpCommand = cdlHelpContext
<control>.HelpContext = <value>
where <project> is the name of the Visual Basic project.Application.VBE.ActiveVBProject.HelpCommand = cdlHelpContextNote that <control> is the name of the ActiveX control. For example if you are using the Slider control, the statement is similar to the following:
Slider1.HelpContext = 10Also, <value> is the Help topic ID you want to appear when Help is displayed.
helpcontextid
Additional query words: XL97 helpid vbaxl8.hlp xlmain8.hlp OFF97
Keywords: kbhowto kbprogramming KB173710