DoMenuCommand Method

Executes the specified menu command.

Syntax

object.DoMenuCommand iMenuCommand

Properties

The DoMenuCommand method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

iMenuCommand

Enumeration. The menu command you wish to perform.

Valid entries:
SchSearchReplace
SchAboutHelp
SchCut
SchCopy
SchPaste
SchDelete
SchProperties
SchNewTimer
SchNewEvent
scHREFreshView

 

Example

Applies To