Assigning Help Files and Topic IDs in a Visual Basic ProjectLast reviewed: February 27, 1998Article ID: Q173710 |
The information in this article applies to:
SUMMARYThis article describes how to configure a Visual Basic for Applications project to use a specific Help file. The ActiveX and Forms controls in a UserForm can use context-sensitive Help to display Help topics in the Help file.
MORE INFORMATION
Assigning a Help File to a ProjectConfiguring a Visual Basic project to use a particular Help file allows you to assign a Help topic identification number to a control on a UserForm. When you select the control and press F1, the topic in the Help file appears. To assign a Help file to a project, follow these steps:
Assigning a Help Topic to an Office Form ControlTo assign a Help topic ID to an existing Office form control, follow these steps:
Assigning a Help File and Topic at Run TimeMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://www.microsoft.com/supportnet/refguide/You can also assign the Help file and Help topic ID at run time by specifying the HelpFile property for the project and the HelpContextId property for the control. To assign a Help file and topic, follow these steps:
Assigning a Help Topic to an ActiveX ControlTo assign a Help topic ID to an ActiveX control, use the HelpCommand and HelpContext properties. To assign a Help topic ID to an ActiveX control, follow these steps:
REFERENCESFor more information about context-sensitive Help in a project, click the Index tab in Microsoft Visual Basic Help, type the following text
helpcontextidand then double-click the selected text to go to the "HelpContextId Property" topic.
|
Additional query words: XL97 helpid vbaxl8.hlp xlmain8.hlp
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |