Sub topic 7
Customizing the ribbon
This chapter assumes you can open a blank workbook, know the ribbon's tabs and groups, and have used the Quick Access Toolbar (QAT). Customizing the ribbon lets you build your own tab for the commands you use most. The QAT is better for a handful of single commands. A custom tab is better when you want a whole set of related commands grouped and labeled.
Where customization happens
Open File > Options > Customize Ribbon. You can also right-click any empty area of the ribbon and choose Customize the Ribbon. The dialog has two lists:
- The left list shows commands you can add. Use the drop-down above it to switch between Popular Commands, All Commands, Commands Not in the Ribbon, and so on.
- The right list shows the tabs and groups that already exist. Use its drop-down to choose Main Tabs, Tool Tabs, or All Tabs.
Build a custom tab
- In the right list, select the tab after which your new tab should appear, for example View.
- Click New Tab. Excel adds a tab named "New Tab (Custom)" with one empty group named "New Group (Custom)".
- Select the new tab, click Rename, and type a name such as
My Tools. - Select the new group, click Rename, and type a name such as
Sheets. The dialog also lets you pick an icon for the group. - Select the group, pick a command in the left list, and click Add. For example, add Insert Sheet and Delete Sheet.
- Use the up and down arrows at the right edge to reorder tabs, groups, or commands.
- Click OK.
Commands can only be added to a custom group. Built-in groups are locked, so you cannot add to them. If you want a command inside a built-in tab, create a custom group on that tab instead.
Hide, reorder, and reset
The check box next to each tab controls whether it is shown. Clear the box next to a tab you never use, such as Developer or Draw, to hide it. You can also select a tab and click Remove, but this works only for custom items. Built-in tabs can be hidden but not deleted.
To undo your changes, click Reset in the lower right. You can reset only the selected tab or reset all customizations. Resetting all also clears the QAT, so use it with care.
Share your setup
The Import/Export button saves your customizations to a file with the extension .exportedUI. Another computer can import that file to get the same ribbon and QAT. Importing replaces all existing customizations on that computer.
Common mistakes
- Looking for Add to work on a built-in group. It is disabled until you select a custom group.
- Adding a command from the wrong list. If a command seems to be missing, switch the left drop-down to All Commands.
- Resetting everything when you only meant to remove one tab.
Exercise
You want a single place on the ribbon with Insert Sheet, Delete Sheet, and Rename Sheet. You try to add Rename Sheet to the built-in Home tab's Cells group, but the Add button is disabled. What should you do?
Show answer
Built-in groups are locked. Select the Home tab in the right list, click New Group, rename it, and add the command to that custom group. Alternatively, create a new custom tab with a custom group and add all three commands there.
Exercise
You customized the ribbon heavily and want to move the setup to another computer. Which button do you use, and what happens to the other computer's existing customizations?
Show answer
Use Import/Export to save an .exportedUI file, then import it on the other computer. Importing replaces that computer's existing ribbon and QAT customizations.