Here is a complete list of RunCommand constants with a description of their function where I know what they do.
The list in Access Help and the one obtainable on the Microsoft Web Site are incomplete and contradict one another.
I have colour coded the list dependent on the version in which they first appeared -
Access 97, Access 2000, Access XP,
Access 2003, Access 2007 or Access 2010. Prior to Access 2007, all later
versions of Access recognise the earlier commands. See Known Problems for more details.
Some of these were retained for backwards compatibility only. If you spot any errors or can fill the gaps please
let me know.
links to code examples for that constant. Select the start letter,
ignoring the acCmd, of the constant.
Select the sixth letter of the acCmdConstant
Constants starting acCmdO
Toggles the Find Whole Word Only option. Only available when the Object Browser is active
Toggles the Group Members option. Only available when the Object Browser is active
Opens Help on selected item. Only available when the Object Browser is active
Toggles the Show Hidden Members option. Only available when the Object Browser is active
Displays the selected module. Only available when the Object Browser is active
Displays the Object Browser
Displays the Office Clipboard or makes it active if already open
Opens the OLE/DDE Links dialog
Display the Convert dialog
Displays OLE object in its native application
Displays the open database dialog
Opens the item associated with the hyperlink
Opens the item associated with the hyperlink in a new window
Equivalent to pressing the Search the Web button on the Web Toolbar
Equivalent to pressing the Start Page button on the Web Toolbar
Opens a table
Equivalent to selecting the Follow Hyperlink option on the Go dropdown on the Web Toolbar
Opens the Tools Options dialog box. Available in both VBE and non-VBE views
Outdents a line of code
Exports the selected object to Excel
Outputs selected object in RTF format
Saves selected module as a text file with no prompt for file name or location. Saves in current directory