You are currently offline, waiting for your internet to reconnect

You cannot use a custom Help file for a VBA project in 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:
  1. Open the UserForm in the VBA project.
  2. Add a command button control to the UserForm.
  3. Double-click the command button, and then add the following code:
    Application.Help "FilePath\HelpFile.chm"
    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 Excel 2007.


Article ID: 933557 - Last Review: 09/19/2011 00:33:00 - Revision: 4.0

  • Microsoft Office Excel 2007
  • kbtshoot kbexpertisebeginner kbprb KB933557
Feedback" '="">