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.
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 acCmdA
Constant
Description
Value
acCmdAboutMicrosoftAccess
Displays the About Access Information dialog
35
acCmdAddInManager
I assume that it opens the Add In Manager window
526
acCmdAddWatch
Adds a variable to the Watch Window
201
acCmdAddToNewGroup
Adds an item to a newly created group
494
acCmdAdvancedFilterSort
Displays Query By Example form for filter
99
acCmdAlignBottom
Aligns the bottom edges of a selection of controls if no overlap. Else aligns top to bottom
46
acCmdAlignLeft
Aligns the left edges of a selection of conols if no overlap else abuts left edge to right edge
43
acCmdAlignmentAndSizing
I assume that it displays the Alignment toolbar
478
acCmdAlignRight
Aligns the right edges of a selection of controls if no overlap else abuts left edge to right edge
44
acCmdAlignToGrid
Aligns selection to grid
47
acCmdAlignTop
Aligns the top edges of a selection of controls if no overlap else abuts top edge to bottom edge
45
acCmdAlignToShortest
Sizes selected controls to shortest
153
acCmdAlignToTallest
Sizes selected controls to tallest
154
acCmdAnalyzePerformance
Displays the Analyze Performance dialog
283
acCmdAnalyzeTable
Displays the Table Analyzer Wizard
284
acCmdAnchorBottomLeft
616
acCmdAnchorBottomRight
618
acCmdAnchorBottomStretchAcross
617
acCmdAnchorStretchAcross
611
acCmdAnchorStretchDown
613
acCmdAnchorStretchDownAcross
614
acCmdAnchorStretchDownRight
615
acCmdAnswerWizard
Displays the Help Find dialog
235
acCmdApplyAutoFormat1
648
acCmdApplyAutoFormat2
649
acCmdApplyAutoFormat3
650
acCmdApplyAutoFormat4
651
acCmdApplyAutoFormat5
652
acCmdApplyAutoFormat6
653
acCmdApplyAutoFormat7
654
acCmdApplyAutoFormat8
655
acCmdApplyAutoFormat9
656
acCmdApplyAutoFormat10
657
acCmdApplyAutoFormat11
658
acCmdApplyAutoFormat12
659
acCmdApplyAutoFormat13
660
acCmdApplyAutoFormat14
661
acCmdApplyAutoFormat15
662
acCmdApplyAutoFormat16
663
acCmdApplyAutoFormat17
664
acCmdApplyAutoFormat18
665
acCmdApplyAutoFormat19
66
acCmdApplyAutoFormat20
667
acCmdApplyAutoFormat21
668
acCmdApplyAutoFormat22
669
acCmdApplyAutoFormat23
670
acCmdApplyAutoFormat24
671
acCmdApplyAutoFormat25
672
acCmdApplyDefault
Apply's default formatting to selected control
55
acCmdApplyFilterSort
Apply's the filter entered in a Filter Design window
93
acCmdAppMaximize
Maximizes Access Window
10
acCmdAppMinimize
Minimize Access window
11
acCmdAppMove
Changes mouse into 4 headed arrow to enable the Access window to be moved
12
acCmdAppRestore
Restores Access window
9
acCmdAppSize
Size Access window
13
acCmdArrangeIconsAuto
Auto arrange icons
218
acCmdArrangeIconsByCreated
Arrange the icons in date created order
216
acCmdArrangeIconsByModified
Arrange the icons in date modified order
217
acCmdArrangeIconsByName
Arrange icons in database window in alphabetical order
214
acCmdArrangeIconsByType
Arranges icons by the type of object
215
acCmdAutoCorrect
Displays the AutoCorrect dialog
261
acCmdAutoDial
Automatically phones a selected number
192
acCmdAutoFormat
Displays the AutoFormat dialog
270