RunCommand constants are designed to allow the built-in menu functionality to be used in code. I
have tried to map the constants to their menu equivalent. However this is by no means an exact or
complete list, especially as functions move between menu items in different versions of Access. Also
the menus change as you work in different parts of Access. Select the menu that you require below.
View Menu
Variations of this menu appear in the following parts of Access: Database Window, Code Window,
Filter Design, Form Datasheet, Form Design, Form View, Query Datasheet, Query Design, Query SQL,
Relationships, Report Design, Report Preview, Table Datasheet, Table Design, Macro Design, VBA
Menu Item
RunCommand Equivalent
Arrange Icons - Auto Arrange
acCmdArrangeIconsAuto
Arrange Icons - By Created
acCmdArrangeIconsByCreated
Arrange Icons - By Modified
acCmdArrangeIconsByModified
Arrange Icons - By Name
acCmdArrangeIconsByName
Arrange Icons - By Type
acCmdArrangeIconsByType
Call Stack
acCmdCallStack
Conditions
acCmdMacroConditions
Database Objects - Forms
acCmdViewForms
Database Objects - Macros
acCmdViewMacros
Database Objects - Modules
acCmdViewModules
Database Objects - Queries
acCmdViewQueries
Database Objects - Reports
acCmdViewReports
Database Objects - Tables
acCmdViewTables
Datasheet View
acCmdDatasheetView
Debug Window
acCmdDebugWindow
Definition
acCmdProcedureDefinition
Design View
acCmdDesignView
Field List
acCmdFieldList
Form Header/Footer
acCmdFormHdrFtr
Join Properties
acCmdJoinProperties
Last Position
acCmdLastPosition
Layout Preview
acCmdLayoutPreview
Line Up Icons
acCmdLineUpIcons
Macro Names
acCmdMacroNames
Object Browser
acCmdObjectBrowser
Page Header/Footer
acCmdPageHdrFtr
Pages - Eight Pages
acCmdPreviewEightPages
Pages - Four Pages
acCmdPreviewFourPages
Pages - One Page
acCmdPreviewOnePage
Pages - Twelve Pages
acCmdPreviewTwelvePages
Pages - Two Pages
acCmdPreviewTwoPages
Properties
acCmdProperties
Report Header/Footer
acCmdReportHdrFtr
Small Icons
acCmdViewSmallIcons
Sorting and Grouping
acCmdSortingAndGrouping
Subform Datasheet
acCmdSubformDatasheet
Table Names
acCmdTableNames
Toolbars - Customize
acCmdToolbarsCustomize
Zoom - Fit to Window
acCmdFitTowindow