Create a toolbar

ShowCreate a toolbar for all Microsoft Access data files

ShowCreate a custom toolbar

  1. On the Tools menu, click Customize.
  2. Click the Toolbars tab.
  3. Click New.
  4. In the Toolbar name box, type the name you want, and then click OK.
  5. Click the Commands tab.
  6. Do one of the following:

ShowAdd a button to the toolbar

  1. Click a category in the Categories box.
  2. Drag the command you want from the Commands box to the displayed toolbar.

ShowAdd a built-in menu to the toolbar

  1. In the Categories box, click Built-in Menus.
  2. Drag the menu you want from the Commands box to the displayed toolbar.
  1. When you have added all the buttons and menus you want, click Close.

 Note   Custom toolbars (toolbar: A bar with buttons and options that you use to carry out commands. To display a toolbar, press ALT and then SHIFT+F10.) that you create are specific to the Access data file (Microsoft Access file: A database or project file. In Access 2007, database objects and data are stored in .accdb files. Earlier versions use.mdb files. An Access project file doesn't contain data, and is used to connect to a SQL Server database.). If you want to use a custom toolbar in a different Access data file, you must re-create or import the custom toolbar.

ShowCreate a toolbar from a macro

  1. In the Database window, click Macros Button image under Objects, and then click the name of the macro you want to create a toolbar from.
  2. On the Tools menu, point to Macro, and then click Create Toolbar from Macro.

 Note   Microsoft Access won't delete the original macro (or macros if you're working with a menu macro and the associated menu macro groups) after it creates the new toolbar. The new toolbar still depends on the original macro or macros, except for macros that contain only AddMenu actions or RunCommand (formerly DoMenuItem) actions.

ShowCreate a custom menu bar for the current Access data file

  1. On the View menu, point to Toolbars, and then click Customize.
  2. On the Toolbars tab, click New.
  3. In the Toolbar Name box, type the name you want, and then click OK.

The new menu bar is now placed next to the Customize dialog box.

  1. On the Toolbars tab, click Properties.
  2. In the Type list, click Menu Bar.
  3. Set any other properties you want, and then click Close.
  4. To complete the menu bar, add custom menus or built-in menus.

 Note   You can attach the custom menu bar to a form or report or you can designate the bar as the global menu bar (global menu bar: In Access 2003 and earlier, a special custom menu bar that replaces the built-in menu bar in all windows in your database application, except where you've specified a custom menu bar for a form or report.).

ShowCreate a custom shortcut menu

  1. On the View menu, point to Toolbars, and then click Customize.
  2. On the Toolbars tab, click New.
  3. In the Toolbar Name box, type the name you want, and then click OK.
  4. On the Toolbars tab, click Properties.
  5. In the Type list, click Popup.
  6. Set the AllowCustomizing property the way you want, and then click Close.

Microsoft Access adds the shortcut menu to the Shortcut Menus toolbar, from which you customize all shortcut menus.

  1. In the Toolbars box on the Toolbars tab, click Shortcut Menus.
  2. On the Shortcut Menus toolbar, click the Custom category.
  3. To complete the menu, add commands from the Customize dialog box and move or copy commands from other menus.

 Note   You can attach the custom shortcut menu to a form, report, or control, or designate the menu as the global shortcut menu (global shortcut menu: A custom shortcut menu that replaces the built-in shortcut menu for the following objects: fields in table and query datasheets; forms and form controls in Form view, Datasheet view, and Print Preview; and reports in Print Preview.).

ShowCreate a storage toolbar

When you delete a built-in menu (built-in menu: A menu included with Microsoft Office; it is not created by the user.), the menu remains in the Customize dialog box. However, when you delete a custom menu, it is permanently deleted. To remove a custom menu and save it for later use, create a storage toolbar (toolbar: A bar with buttons and options that you use to carry out commands. To display a toolbar, press ALT and then SHIFT+F10.) for storing your unused custom menus.

  1. Show the toolbar that contains the custom button you want to store.

ShowHow?

  1. On the View menu, point to Toolbars.
  2. Do one of the following:
    • If the toolbar name is listed, click the toolbar name.
    • If the toolbar name is not listed:
      1. Click Customize.
      2. In the Customize dialog box, click the Toolbars Tab, and then double-click the toolbar you want to show.
  1. On the Tools menu, click Customize, and then click the Toolbars tab.
  2. Click New.
  3. In the Toolbar name box, type the name you want for the storage toolbar.
  4. Click Close.

The new storage toolbar remains showing on the screen.

  1. Do one of the following for each custom toolbar button you want to store:
  • To move a button, hold down ALT and drag the button to the new storage toolbar.
  • To copy a button, hold down CTRL+ALT and drag the button to the new storage toolbar.
  1. To hide the storage toolbar, right-click the storage toolbar and clear the check box next to its name on the shortcut menu (shortcut menu: A menu that shows a list of commands relevant to a particular item. To display a shortcut menu, right-click an item or press SHIFT+F10.).
 
 
Applies to:
Access 2003