Menu Equivalents

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.

Control Menus    Toolbars    Shortcut Menus    Debug    Edit    File    Format    Help
Insert    Query    Records    Relationships    Run    Tools    View    Window

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
Code
acCmdViewCode
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
Details
acCmdViewDetails
Field List
acCmdFieldList
Form Header/Footer
acCmdFormHdrFtr
Form View
acCmdFormView
Grid
acCmdViewGrid
Indexes
acCmdIndexes
Join Properties
acCmdJoinProperties
Last Position
acCmdLastPosition
Layout Preview
acCmdLayoutPreview
Line Up Icons
acCmdLineUpIcons
List
acCmdViewList
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
Ruler
acCmdViewRuler
Small Icons
acCmdViewSmallIcons
Sorting and Grouping
acCmdSortingAndGrouping
SQL View
acCmdSQLView
Subform Datasheet
acCmdSubformDatasheet
Tab Order
acCmdTabOrder
Table Names
acCmdTableNames
Toolbars - Customize
acCmdToolbarsCustomize
Toolbox
acCmdViewToolbox
Totals
acCmdQueryTotals
Zoom - 10%
acCmdZoom10
Zoom - 100%
acCmdZoom100
Zoom - 150%
acCmdZoom150
Zoom - 200%
acCmdZoom200
Zoom - 25%
acCmdZoom25
Zoom - 50%
acCmdZoom50
Zoom - 75%
acCmdZoom75
Zoom - Fit to Window
acCmdFitTowindow

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