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. 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.

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 acCmdZ

Constant
Value
Description
Code ExampleacCmdZoom10
244
Zoom print preview to 10%
Code ExampleacCmdZoom100
240
Zoom print preview to 100%
Code ExampleacCmdZoom1000
482
Zoom print preview to 1000%
Code ExampleacCmdZoom150
239
Zoom print preview to 150%
Code ExampleacCmdZoom200
238
Zoom print preview to 200%
Code ExampleacCmdZoom25
243
Zoom print preview to 25%
Code ExampleacCmdZoom50
242
Zoom print preview to 50%
Code ExampleacCmdZoom500
481
Zoom print preview to 500%
Code ExampleacCmdZoom75
241
Zoom print preview to 75%
Code ExampleacCmdZoomBox
179
Opens the zoom box
acCmdZoomSelection
371
 

© 1998 - 2011 Terry Wickenden TKW Design Site developed, maintained and hosted by TKW Design. This site is best viewed at 1024 x 768. Optimised for Firefox.