Microsoft KB Archive/933557
Article ID: 933557
Article Last Modified on 4/19/2007
- Microsoft Office Excel 2007
Consider the following scenario. In Microsoft Office Excel 2007, you use a custom Help file for a Microsoft Visual Basic for Applications (VBA) project. In the VBA project, you try to open the custom Help file. To do this, you click the Help button on the title bar of a UserForm, and then you click the background of the UserForm. In this scenario, the VBA Help file appears instead of the custom Help file.
To work around this problem, follow these steps:
- Open the UserForm in the VBA project.
- Add a command button control to the UserForm.
Double-click the command button, and then add the following code:
Note HelpFile.chm is the custom Help file that you want to use in the VBA project.
Microsoft has confirmed that this is a problem in Microsoft Office Access 2007.
Keywords: kbtshoot kbexpertisebeginner kbprb KB933557