Everyday Computing Advanced Computing The Internet At Home Health, Mind & Body Making & Managing Money Sports & Leisure Travel Beyond The Classroom
Handheld Computing
Hardware
Money Management Software
Multimedia
Office Productivity Software
Operating Systems
Moms, Dads, and Grads -- Win $500!
Excel 2007 VBA Programming For Dummies
Getting Quick Access to a Custom Macro in Excel 2007
Adapted From: Excel 2007 VBA Programming For Dummies

The folks at Microsoft certainly made Excel 2007 more powerful, but on the flip side, some of the customization abilities that VBA programmers love have disappeared, namely, custom toolbars and custom menu bars.

But don’t fret: If you create a macro that you use frequently, you can add a new button to the Quick Access Toolbar (QAT). Doing so is easy, but you must do it manually. Here’s how:

  1. Right-click the QAT and select Customize Quick Access Toolbar to display the Customize tab of the Excel Options dialog box.

  2. In the drop-down box labeled Choose Commands From, select Macros.

  3. Select your macro from the list.

  4. Click the Add button, and the macro is added to the QAT list on the right.

  5. If you like, click the Modify button to change the icon and (optionally) the display name.

Unfortunately, the new QAT button only works when the workbook that contains the macro is open. Even worse, the macro works only when that workbook is the active workbook.

In order to run a macro from the QAT when any workbook is active, store the macro in your Personal Macro Workbook.


To find out how to have Dummies eTips delivered to your e-mail inbox every week, visit the Dummies eTip Sign-Up Page.
Related Articles
Looking at Error Values and Operators in Excel
Excel 2007: Getting the Right Numbers with AVERAGE, MAX, MIN, and MEDIAN
Using Time Functions in Excel 2007
Using Dates in Excel Calculations
Excel Formulas: Generating Random Numbers
Related Titles
Excel 2000 For Windows For Dummies
Excel 2000 for Windows For Dummies: Quick Reference
Excel 2002 For Dummies
Excel 2002 for Dummies: Quick Reference
Excel 2003 Power Programming with VBA