Help Method

Microsoft PowerPoint Visual Basic

Help Method

       

Displays a Help topic.

expression.Help(HelpFile, ContextID)

expression   Required. An expression that returns an Application object.

HelpFile   Optional String. The name of the Help file you want to display. Can be either a .chm or an .hlp file. If this argument isn't specified, Microsoft PowerPoint Help is used.

ContextID   Optional Long. The context ID number for the Help topic. If this argument isn't specified or if it specifies a context ID number that is not associated with a Help topic, the Help Topics dialog box is displayed.

Example

This example displays topic number 65527 in the Help file MyHelpFile.chm.

Application.Help "MyHelpFile.chm", 65527