<%dim crumb dim crumb1 dim crumb2 crumb="DoCmd AddMenu" crumb1="Add Menu DoCmd" crumb2="DoCmd Macro Examples" %> DoCmd Addmenu in Microsoft Access
Home  Fees/Services  Access Templates  Tutorials  Access Download  Articles  Search  Forums  Blockchain Tech  Contact  Privacy  Links

DoCmd Examples - Access VBA<%response.write "
" & crumb1 %>

Docmd Macro VBA Example
Developer Home > Access Database Tutorials > DoCmd Examples<% response.write " > " & crumb %>
<% dim Gnum,Ynum Gnum="3847865006" Ynum="7164" dim Page_Type Page_Type="Prog" %>

DoCmd AddMenu
DoCmd ApplyFilter
DoCmd CancelEvent
DoCmd Close
DoCmd CopyObject
DoCmd DeleteObject
DoCmd FindRecord
DoCmd FindNext
DoCmd GotoControl
DoCmd HourGlass
DoCmd Min/Max/Restore
DoCmd OpenForm
DoCmd OpenQuery
DoCmd OpenReport
DoCmd OutputTo
DoCmd RunSQL
DoCmd SendObject
DoCmd TransferDatabase
DoCmd TransferText

Create Export Specs


Microsoft Office:
  MS Access 2003
  Access 2007
  Access 2010
  Access 2013

Access AddMenu DoCmd Example

Notes on AddMenu command:  You can set the MenuBar or ShortcutMenuBar property in VBA to attach a custom menubar to a form, control, or a report. You can also set the StartupMenuBar property to establish a global menubar. Moreover can set the MenuBar property of the Application object to create a global menu bar. Similarly, you can set the StartupShortcutMenuBar property or the ShortcutMenuBar property of the Application object to install a global shortcut menu.

The AddMenu Command Syntax and Option Definitions:

docmd add menu

MenuName Required Variant. A string expression that's the valid name of a drop-down menu to add to the custom menu bar or global menubar. To create an access key so that you can use the keyboard to choose the menu, type an ampersand (&) before the letter you want to be the access key. This letter will be underlined in the menu name on the menu bar.

MenuMacroName Required Variant. A string expression that's the valid name of the macro group that contains the macros for the menu's commands. This is a required argument.

StatusBarText Required Variant. A string expression that's the text to display in the status bar when the menu is selected

Access Add Menu from MS Access Help Documentation

Find more about Managing Menu Bars and Menu Items at Microsoft.com.

Microsoft Office:
MS Access 2003
Access 2007
Access 2010
Access 2013

Contact Information

<% Response.write "Copyright 2000-" & year(now) & " Blue Claw Database Design" %>