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
Short Cut Menus
These are the menus available by clicking the secondary mouse button. Variations of this menu are available in the following Access areas:
- Database Window
- Code Window
- Form Datasheet
- Form Design
- Form View
- Query Datasheet
- Query Design
- Relationships
- Report Design
- Table Datasheet
- Macro Design
- VBA
- Object Browser
- Menu Item
- RunCommand Equivalent
- Build
- acCmdInvokeBuilder
- Close
- acCmdClose
- Delete Watch
- acCmdDeleteWatch
- Find Whole Word Only
- acCmdObjBrwFindWholeWordOnly
- Group Members
- acCmdObjBrwGroupMembers
- Help
- acCmdObjBrwHelp
- Hyperlink - Copy Hyperlink
- acCmdCopyHyperlink
- Hyperlink - Display Text
- acCmdHyperlinkDisplayText
- Hyperlink - Edit Hyperlink
- acCmdEditHyperlink
- Hyperlink - Open
- acCmdOpenHyperlink
- Hyperlink - Open In New Window
- acCmdOpenNewHyperlink
- Open
- acCmdOpenTable
- Page Order
- acCmdTabControlPageOrder
- Save As Report
- acCmdSaveAsReport
- Save Layout
- acCmdSaveLayout
- Show Hidden Members
- acCmdObjBrwShowHiddenMembers
- View Definition
- acCmdObjBrwViewDefinition
- Zoom
- acCmdZoomBox