Help Method

Microsoft Excel Visual Basic

Displays a Help topic.

expression.Help(HelpFile, HelpContextID)

expression    Required. An expression that returns an Application object.

helpFile    Optional Variant. The name of the online Help file you want to display. If this argument isn't specified, Microsoft Excel Help is used.

helpContextID    Optional Variant. Specifies the context ID number for the Help topic. If this argument isn't specified, the Help Topics dialog box is displayed.

Example

This example displays topic number 65527 in the Help file Otisapp.hlp.

Application.Help "OTISAPP.HLP", 65527