Here is a complete list of RunCommand constants with a description of their function where I know what they do.
The list in Access Help and the one 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, Access 2007 or Access 2010. 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.
links to code examples for that constant. Select the start letter,
ignoring the acCmd, of the constant.
Select the sixth letter of the acCmdConstant
Constants starting acCmdV
Decreases the vertical space between selected objects
Increases the vertical space between selected objects
Makes the vertical space between selected objects equal
Opens the Code window for the selected object
Displays the Pages tab in Database Window
Displays details in database window
Displays the Diagrams tab of the database window of an Access Data Project
Displays and hides the Field List in a View
Displays the Form tab in Database Window
Toggles display of the Grid in form and report design view
Displays large icons in database window
Displays items in a list in the database window
Displays the Macro tab in Database Window
Displays the Module tab in Database Window
Displays the Query tab in Database Window
Displays the Report tab in Database Window
Toggles the display of the ruler in form and report design
Toggles the display of the Diagram Pane when in the design of a View
Toggles the display of the Grid Pane when in the design of a View
Toggles the display of the SQL Pane when in the design of a View
Displays small icons in database window
Displays the Stored Procedures tab of the database window in an Access Data Project
Displays the Table tab in Database Window
Toggles the display of the Toolbox in form and report design
Verifies the SQL in the design of a View
Display the views tab of the database window in an Access Data Project
Opens the Visual Basic Editor