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 acCmdD
I think this must be equivalent to the Add To Page Button on the Field List in design view of a Data Access Page
Changes from Design View to Page View of a Data Access Page
Changes from Page View to Design View of a Data Access Page
I think this must be equivalent to the Refresh Button on the Field List in design view of a Data Access Page
Display the database properties dialog
Automatically splits the current database into 2. A front end containing everything but the data and a back end containing the tables.
Changes view to data entry mode
I think this must be equivalent to the Data Outline Button on the toolbar in design view of a Data Access Page
Switches to datasheet view
Displays the Date and Time dialog
Displays the immediate window but you have to open a module first
Deletes selected item. Available in both VBE and non-VBE views
I presume that this removes a user created group fro the database window
Deletes a page from a tab control
Removes a column from the QBE grid
Deletes the selected record
Deletes rows but where I am not sure
Deletes the currently open SharePoint list
Not used to delete a tab from a tab control that is acCmdDeletePage
I presume this deletes a table from an Access Data Project
Deletes the selected column from a table
Deletes the selected watch variable
Used on Data Access Pages to demote a Group heading
Switches to Design View
Equivalent to right clicking on a diagram and selecting Recalculate Page Breaks
Equivalent to selecting View Page Breaks from the Diagram menu
Maximizes Access child window. Available in both VBE and non-VBE views
Minimize internal Access window. Available in both VBE and non-VBE views
Move Access child window. Available in both VBE and non-VBE views
Restores Access child window. Available in both VBE and non-VBE views
Size Access child window. Available in both VBE and non-VBE views
Displays the Documentor dialog
Create a duplicate of the selected object