Name
Application.Help([HelpFile
], [HelpContextID
])
Synopsis
Displays a help topic in Excel’s Help window.
Argument |
Setting |
---|---|
|
The file to display. Can be compiled Help (.chm or .hlp) or a web page (.htm). Defaults to the Excel help file. |
|
For compiled help files, the numeric ID of the topic to display. Ignored for web pages. |
See Chapter 6 for details on creating and displaying Help. The following code displays an error message help page in the Help window:
Sub TestApplicationHelp( ) ' Display Help in Help window. Application.Help ("http://excelworkshop.com/Help/error51.htm") End Sub
Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.