DOCMD Function

Performs the identified command.

Syntax

DOCMD (commandID)

Parameters

Name

Required/Optional

Data Type

Description

commandID

Required

Number

The command to perform.

Remarks

For a list of commands that are supported with the DOCMD function, see the topic "DoCmd/DOCMD commands" in the Microsoft Visio 2010 Automation Reference.

Example

DOCMD (1312)

Causes the Shape Data dialog box to appear in the user interface.