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 Query Records Relationships Run Tools View Window
File 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, Query SQL, Relationships, Report Design, Report Preview, Table Datasheet, Table Design, Macro Design, VBA
- Menu Item
- RunCommand Equivalent
- Close
- acCmdClose
- Database Properties
- acCmdDatabaseProperties
- Exit
- acCmdExit
- Get External Data - Import
- acCmdImport
- Get External Data - Link Tables
- acCmdLinkTables
- Load From Query
- acCmdLoadFromQuery
- New Database
- acCmdNewDatabase
- Open Database
- acCmdOpenDatabase
- Page Setup
- acCmdPageSetup
- acCmdPrint
- Print Preview
- acCmdPrintPreview
- Save
- acCmdSave
- Save As HTML
- acCmdPublish
- Save As Query
- acCmdSaveAsQuery
- Save As Text
- acCmdSaveModuleAsText
- Save As/Export
- acCmdSaveAs
- Send
- acCmdSend