AccelItem.CmdNum property (Visio)

Gets or sets the command ID associated with an accelerator. Read/write.

Syntax

expression.CmdNum

expression A variable that represents an AccelItem object.

Return value

Integer

Remarks

The CmdNum property should never be zero for an AccelItem object.

Valid command IDs are declared by the Visio type library in VisUICmds. They have the prefix visCmd.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.