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

Insert Menu

Variations of this menu are available in the following Access areas: Database Window, Code Window, Filter Design, Form Datasheet, Form Design, Form View, Query Datasheet, Query Design, Report Design, Table Datasheet, Table Design, Macro Design, VBA

Menu Item
RunCommand Equivalent
ActiveX Control
acCmdInsertActiveXControl
Auto Form
acCmdNewObjectAutoForm
Auto Report
acCmdNewObjectAutoReport
Chart
acCmdInsertChart
Class Module
acCmdNewObjectClassModule
Column
acCmdInsertQueryColumn
Date and Time
acCmdDateAndTime
File
acCmdInsertFileIntoModule
Form
acCmdNewObjectForm
Hyperlink
acCmdInsertHyperlink
Lookup Column
acCmdInsertLookupColumn
Lookup Field
acCmdInsertLookupField
Macro
acCmdNewObjectMacro
Module
acCmdNewObjectModule
Procedure
acCmdInsertProcedure
New Record
acCmdRecordsGoToNew
Object
acCmdInsertObject
Page Number
acCmdPageNumber
Picture
acCmdInsertPicture
Query
acCmdNewObjectQuery
Report
acCmdNewObjectReport
Rows
acCmdInsertRows
Tab Control Page
acCmdInsertPage
Table
acCmdNewObjectTable

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