Share via


Displaying a Standard Help Topic from a Toolbar Button or Menu Item

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Displaying a Help topic when a user clicks a toolbar button or menu item is similar to creating a Help button for a form. However, command bar controls don't provide a Click event, so you must first create a Sub or Function procedure that displays the Help topic, and then set the control's OnAction property to the name of that procedure. The same restrictions apply when you are creating a procedure to display a Help topic as when you are creating a Help button: You can use the Help method of the Application object to display a custom Help topic only in Excel and PowerPoint, but you must use an API call to HTML Help to display a custom Help topic in Word and Access.

See Also

Working with Shared Office Components | Displaying Help from Command Bars | Displaying Context-Sensitive Help for Command Bar Controls