OnCmdSub Property

A String value. Read-only. Returns the name of the processing procedure to process menu item command.

Applies to: MenuItem object

Syntax

[[Let] procRet = ] object.OnCmdSub

The OnCmdSub property syntax has these parts:

Part Description
object Required. An expression that returns an MenuItem object.
procRet Optional. A String type variable.