Displaying Help Topics with the Help Method

When you run the Help method in your Visual Basic code, Microsoft Excel displays the specified Help topic. The Visual Basic Help method has the following syntax:

Application.Help "filename", topic_number

Here, filename is the name of the file containing the topic and can include the full path, and topic_number identifies the topic within the Help file. For compiled Help files, topic_number is the number you specify in the [MAP] section of the Help project file. The [MAP] section is described on page 565.

example, in Microsoft Excel for Windows, you might use the following Visual Basic code to display Help topic number 103.

Application.Help "C:\REPORTS\REPORTS.HLP", 103