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 acCmdE

Constant
Description
Value

Code ExampleacCmdEditHyperlink
Allows the editting of a Hyperlink
325

acCmdEditingAllowed
I think that this is something to do with the Editing Mode of a form
70

acCmdEditListItems
 
607

acCmdEditRelationship
Displays the Edit Relationship dialog
151

acCmdEditTriggers
I think that this is probalby to do with setting triggers in an Access Data Project
384

acCmdEditWatch
Opens the Edit Watch dialog
202

Code ExampleacCmdEncryptDecryptDatabase
Opens the Encrypt/Decrypt Database dialog
5

acCmdEnd
Stops the running of a procedure
198

Code ExampleacCmdExit
Closes Access completely
3

acCmdExport
 
487

acCmdExportAccess
 
559

acCmdExportdBase
 
565

acCmdExportExcel
 
556

acCmdExportFixedFormat
 
592

acCmdExportHTML
 
564

acCmdExportLotus
 
567

acCmdExportODBC
 
562

acCmdExportParadox
 
566

acCmdExportRTF
 
558

acCmdExportSharePointList
 
557

acCmdExportSnapShot
 
563

acCmdExportText
 
560

acCmdExportXML
 
561