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.
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
Class Module
acCmdNewObjectClassModule
Column
acCmdInsertQueryColumn
Date and Time
acCmdDateAndTime
File
acCmdInsertFileIntoModule
Hyperlink
acCmdInsertHyperlink
Lookup Column
acCmdInsertLookupColumn
Lookup Field
acCmdInsertLookupField
Macro
acCmdNewObjectMacro
Module
acCmdNewObjectModule
Procedure
acCmdInsertProcedure
New Record
acCmdRecordsGoToNew
Page Number
acCmdPageNumber
Picture
acCmdInsertPicture
Query
acCmdNewObjectQuery
Report
acCmdNewObjectReport
Tab Control Page
acCmdInsertPage
Table
acCmdNewObjectTable