The information in this article applies to:
SUMMARYThe Help menu items that appear at the top of the screen in Microsoft Access can be supplemented so that your own custom menu items appear. This can be done by creating an entry in the MSACCESS.INI file. MORE INFORMATION
You can add your own entries to the [Menu Add-Ins] section of the
MSACCESS.INI file. You can use this feature to invoke a macro, an Access
Basic program, or an Access Basic function from a Help menu item. To add
to this section of the MSACCESS.INI file, follow these steps:
To add a Help menu item called Run Daily Update that runs a user-defined Access Basic function called RunUpdate(), you would add the following to the MSACCESS.INI file:
Note that the second equal sign (=) in the above example is required for running user-defined or other Access Basic functions. You can also define an underlined character in your Help menu item that is accessible with the ALT key. To do this, place an ampersand (&) in front of the character that should be underlined. For example, to create a Help menu item called Show Message with the M underlined that calls the Access Basic MsgBox() function, add the following to the MSACCESS.INI file:
You can add multiple items to the [Menu Add-Ins] section of the MSACCESS.INI file. The example below includes all the examples in this article:
After you have made these changes to the MSACCESS.INI file, save the file and then close Notepad. When you restart Microsoft Access, the items in the [Menu Add-Ins] section will be available from the Help menu.
Keywords : kbui UifOthr |
Last Reviewed: March 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |