Full List of All RunCommand Constants

Here is a complete list of RunCommand constants with a description of their function where I know what they do. Both the list in Access Help and the list obtainable on the Microsoft Web Site are incomplete and contradict one another.

I have colour coded the list dependent on the version in which they first appeared - Access 97, Access 2000, Access XP, Access 2003 or Access 2007. Prior to Access 2007, all later versions of Access recognise the earlier commands. See Known Problems for more details. Some of these were retained for backwards compatibility only. If you spot any errors or can fill the gaps please let me know.

Code Link links to code examples for that constant. Select the start letter, ignoring the acCmd, of the constant.

Select the sixth letter of the acCmdConstant
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Constants starting acCmdM

Constant
Description
Value

acCmdMacroAllActions
 
589

acCmdMacroArguments
 
588

acCmdMacroConditions
Toggles the display of the Macro Conditions column
87

acCmdMacroNames
Toggles the display of the Macro Names column
86

Code ExampleacCmdMakeMDEFile
Creates a MDE File but can not be used for the active Database
7

acCmdManageAttachments
 
673

acCmdManageReplies
 
609

acCmdMaximumRecords
 
508

acCmdMicrosoftAccessHelpTopics
Displays the Help contents
100

acCmdMicrosoftOnTheWeb
Displays the Microsoft On the Web Menu???
236

acCmdMicrosoftScriptEditor
Opens the Microsoft Script Editor when in the design of a Data Access Page
390

acCmdModifySharePointList
 
622

acCmdModifySharePointListAlerts
 
623

acCmdModifySharePointListPermissions
 
625

acCmdModifySharePointListWorkflow
 
624

Code ExampleacCmdMoreWindows
Displays the Window List dialog box
8

acCmdMoveColumnCellDown
 
573

acCmdMoveColumnCellUp
 
572