Create a toolbar

Microsoft Office Access 2003

To design a toolbar that's available in all your Microsoft Access databases and Microsoft Access projects, add buttons to the blank built-in toolbars, Utility 1 and Utility 2.

  1. On the View menu, point to Toolbars, and then click Customize.
  2. On the Toolbars tab, select the check box for Utility 1 or Utility 2 in the Toolbars box.
  3. Close the Customize dialog box. Access displays the toolbar you selected in step 2.
  4. To complete the toolbar, add buttons from the Customize dialog box, move or copy a button from another toolbar, or add menus.

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.
  7. When you have added all the buttons and menus you want, click Close.

Note  Custom toolbars that you create are specific to the Access data file. 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.

  4. On the Toolbars tab, click Properties.
  5. In the Type list, click Menu Bar.
  6. Set any other properties you want, and then click Close.
  7. 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.

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.

  7. In the Toolbars box on the Toolbars tab, click Shortcut Menus.
  8. On the Shortcut Menus toolbar, click the Custom category.
  9. 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.

ShowCreate a storage toolbar

When you delete a built-in menu, 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 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.
  2. On the Tools menu, click Customize, and then click the Toolbars tab.
  3. Click New.
  4. In the Toolbar name box, type the name you want for the storage toolbar.
  5. Click Close.

    The new storage toolbar remains showing on the screen.

  6. 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.

  7. To hide the storage toolbar, right-click the storage toolbar and clear the check box next to its name on the shortcut menu.