Sub topic 6
Putting Favorite Commands on the Quick Access Toolbar
This chapter assumes you can open a blank workbook, you know the ribbon has tabs, groups, and commands, and you can use the mouse and keyboard comfortably. It covers what the Quick Access Toolbar (QAT) is, how to add and arrange commands, how its keyboard shortcuts work, and the mistakes people commonly make with it.
What the Quick Access Toolbar is
The Quick Access Toolbar is a small strip of command buttons that stays visible no matter which ribbon tab is active. By default it sits in the top-left corner of the Excel window, above the ribbon. Depending on your version, it may already hold Save, Undo, and Redo.
The ribbon changes as you switch tabs. The QAT does not. That makes it the right place for commands you use often and do not want to hunt for, such as Paste Values, Freeze Panes, or Sort.
The QAT differs from the ribbon in three ways:
- It holds only single commands. It has no tabs or groups.
- It is the same on every tab, so a command is always one click away.
- It is personal. Your QAT settings belong to your Excel installation, not to the workbook. A colleague who opens your file will not see your buttons.
Showing and positioning the QAT
In some setups the QAT is hidden. To show it, right-click anywhere on the ribbon and choose Show Quick Access Toolbar. If the menu says Hide Quick Access Toolbar, it is already visible.
The QAT can sit in one of two places:
- Above the ribbon, in the title bar area. This takes no extra vertical space, but the toolbar is small and has limited room.
- Below the ribbon, on its own row. This gives it more room and puts the buttons closer to the cells, but it uses a little screen height.
To switch, click the small down arrow at the right end of the QAT, which is the Customize Quick Access Toolbar button. Then choose Show Below the Ribbon or Show Above the Ribbon.
If you add many commands, the toolbar can run out of room above the ribbon. Excel then shows a More Controls chevron at the end, and the extra buttons move into a drop-down. Moving the QAT below the ribbon avoids this.
Adding a command
There are three common ways to add a command. Choose the one that fits what you are doing.
- From the drop-down list. Click the Customize Quick Access Toolbar arrow. A short list of popular commands appears, such as New, Open, Quick Print, and Sort Ascending. A check mark means the command is already on the toolbar. Click an unchecked item to add it.
- From the ribbon. Find the command on any tab, right-click it, and choose Add to Quick Access Toolbar. This is the fastest method when you can already see the command.
- From the Options dialog. Open File > Options > Quick Access Toolbar. Use the Choose commands from list on the left to pick a category, select a command, and click Add >>. This method reaches commands that are not on the ribbon at all.
The third method matters more than it first seems. Excel has many commands that have no ribbon button, and the Commands Not in the Ribbon category lists them. Some people find this category useful for commands such as Camera or Form.
Arranging and removing commands
Open File > Options > Quick Access Toolbar to control the order. The right-hand list shows the toolbar from left to right, top to bottom. Select a command and use the Up and Down arrows at the far right to move it. You can also insert a Separator entry from the left-hand list to put a thin divider between groups of related buttons.
To remove a command, do either of these:
- Right-click the button on the toolbar and choose Remove from Quick Access Toolbar.
- Select it in the right-hand list of the Options dialog and click << Remove.
The Reset button at the bottom right of the dialog offers two choices. Reset only Quick Access Toolbar restores the default buttons. Reset all customizations also clears any ribbon changes. Use the first one unless you really want to discard both.
For all documents or for one workbook
The Options dialog has a drop-down above the right-hand list called Customize Quick Access Toolbar. It has two settings:
- For all documents (default) applies your buttons in every workbook you open.
- For *workbook name* applies the buttons only when that particular file is the active one.
A workbook-specific toolbar is useful when a file needs special commands, such as macros that belong only to that file. The two lists are added together. When you open that workbook, you see the buttons from both lists.
The buttons you add under the workbook-specific setting are stored inside the file. If you share the file, they travel with it, but only if the recipient's Excel can run the commands. This matters mostly for macro buttons, which need a macro-enabled file format.
Using the QAT from the keyboard
Every QAT button gets an Alt key tip number automatically. Press and release Alt, and numbers appear over the QAT buttons. The first button is 1, the second is 2, and so on. After button 9, the tips become 09, 08, and so on, to cover positions ten and beyond.
For example, if Paste Values is the fourth button, pressing Alt then 4 runs it. This is often faster than any shortcut Excel provides for that command.
The key tip is tied to the button's position, not to the command. If you reorder the toolbar, the numbers change. A habit built on the old positions will then trigger the wrong command. Decide on an order, and add new commands at the end so that existing numbers stay put.
Alt Show key tips, including QAT numbers
Alt, 1 Run the first QAT button
Alt, 4 Run the fourth QAT button
Alt, 09 Run the ninth button position past the first nine (tips use two digits after 9)A practical starter set
A good QAT is short. Six to ten buttons is easy to remember by position. A reasonable starting set for general spreadsheet work:
| Position | Command | Why it helps |
|---|---|---|
| 1 | Save | Saves in one keystroke sequence |
| 2 | Undo | Reverses the last action |
| 3 | Redo | Reapplies an undone action |
| 4 | Paste Values | Pastes results without formulas or formatting |
| 5 | Freeze Panes | Keeps headings visible while scrolling |
| 6 | Sort A to Z | Sorts the selected column quickly |
| 7 | Format Painter | Copies formatting between cells |
With this order, Alt, 4 pastes values and Alt, 5 freezes panes.
Common errors and edge cases
- The button does nothing or is grayed out. Many commands apply only in certain states. Paste Values needs something on the clipboard, and a chart command needs a chart selected. A grayed button is not broken.
- Buttons vanish after a reinstall or on a new computer. The default QAT is saved with your user profile, not the workbook. To move it, use File > Options > Quick Access Toolbar > Import/Export > Export all customizations, and import the file on the other machine.
- A workbook-specific button disappears. It shows only while that workbook is active. Check that the drop-down is set to the right target when you add it.
- Key tip numbers shifted. You reordered or removed a button. Check the numbers again by pressing Alt.
- A command is missing from the left-hand list. Check the Choose commands from category. Popular Commands shows only a subset, so switch to All Commands.
How the QAT fits with the rest of the interface
The QAT, the ribbon, and the keyboard shortcuts overlap on purpose. A common pattern is to use ribbon tabs for occasional commands, built-in shortcuts such as Ctrl+C for the most common actions, and the QAT for in-between commands that have no short shortcut. Customizing the ribbon itself is covered in a later chapter.
Exercise
Your QAT has Save, Undo, Redo, Paste Values, and Freeze Panes in that order. You remove Redo. What happens to the Alt key tip for Paste Values, and how can you avoid surprises like this?
Show answer
Paste Values moves from position 4 to position 3, so its key tip changes from Alt, 4 to Alt, 3. Key tips follow the button's position, not the command. To avoid this, decide on an order before building the habit, and add new commands at the end of the toolbar so that existing positions do not shift.
Exercise
You want a button that runs a macro stored only in one workbook. You do not want it to appear in your other files. Which setting do you use in File > Options > Quick Access Toolbar?
Show answer
Open the Customize Quick Access Toolbar drop-down above the right-hand list and choose the setting named For followed by the workbook's name, instead of For all documents. Then add the macro command. The button appears only while that workbook is active.