Sub topic 7
Customizing the ribbon
This chapter assumes you can already find commands by tab and group. It also assumes you have used the Quick Access Toolbar (QAT) and can open the File tab. You will build your own ribbon tab, hide tabs you never use, back up your layout, and undo changes safely.
What you can and cannot change
The ribbon is made of tabs, tabs hold groups, and groups hold commands. Customization follows the same hierarchy, with one rule that causes most confusion: you can add commands only to custom groups. Built-in groups such as Font or Alignment are locked.
| Action | Allowed on built-in items | Allowed on custom items |
|---|---|---|
| Show or hide a tab | Yes | Yes |
| Reorder tabs | Yes | Yes |
| Rename a tab or group | Yes | Yes |
| Add or remove commands in a group | No | Yes |
| Delete a tab or group | No (hide or remove from view only) | Yes |
| Reorder groups inside a tab | Yes | Yes |
Customizations belong to your Excel installation and your Windows user profile. They are not stored in a workbook. When you send a file to a colleague, your ribbon layout does not travel with it.
Opening the Customize Ribbon dialog
You can reach the dialog in two ways:
- Right-click any empty area of the ribbon and choose Customize the Ribbon.
- Choose File > Options > Customize Ribbon.
The dialog has two lists. The left list is Choose commands from, and its drop-down filters what appears. The right list is Customize the Ribbon, and its drop-down selects the tab set you are editing.
Useful filter values on the left:
- Popular Commands shows the commands most people add.
- Commands Not in the Ribbon shows commands that exist but have no button anywhere. This is where hidden gems live.
- All Commands shows everything, sorted alphabetically.
- Main Tabs, Tool Tabs, and Custom Tabs and Groups let you copy an existing command from its current location.
The right drop-down offers Main Tabs, Tool Tabs (the contextual tabs from the earlier chapter), and All Tabs.
Building a custom tab
Suppose you often use Paste Values, Freeze Panes, and the Camera. You want them together on one tab.
- Open the Customize Ribbon dialog.
- In the right list, select the tab after which the new tab should appear, for example Home.
- Click New Tab. Excel adds New Tab (Custom) with an empty New Group (Custom) under it.
- Select the new tab, click Rename, and type
My Tools. - Select the new group, click Rename, and type
Daily. The Rename dialog for a group also lets you pick an icon, which Excel shows when the window is too narrow to display the whole group. - In the left list, choose a command and click Add >>. It lands inside the selected group.
- Click OK.
The "(Custom)" suffix appears only in the dialog. On the ribbon, your tab shows just the name you typed.
My Tools <- custom tab
Daily <- custom group
Paste Values
Freeze Panes
Camera
Review <- second custom group
Spelling
Track ChangesA group needs at least one command. Excel will not keep an empty custom group visible, so add a command before you judge the layout.
Reordering, renaming, and hiding
Select any tab or group in the right list and use the Up and Down arrow buttons to move it. Moving a group up or down changes its position within the tab. Dragging also works in recent versions, but the arrows are more precise.
Each tab in the right list has a check box. Clearing the check box hides the tab without deleting it. This is the supported way to remove a built-in tab such as Page Layout or Data from view. The tab and its settings remain, so you can restore it by ticking the box again.
The Developer tab is unchecked by default. Tick it if you work with macros, form controls, or add-ins.
You can rename built-in tabs and groups too. This changes only the label. It does not change what the commands do, and it can confuse colleagues who share your screen, so rename built-in items sparingly.
Adding a command that exists somewhere else
You can add a command to a custom group even when it already appears on another tab. For example, put Merge & Center from Home into your own tab. Both copies work identically.
Some commands in Commands Not in the Ribbon are worth knowing. Camera, Form, and Speak Cells are common examples. The exact list varies by Excel version, so browse it rather than assuming a command is present.
Key tips for custom tabs
Custom tabs take part in the Alt key tip system. Press Alt and look for the badge over your tab. Excel chooses the letters for you, and the dialog gives no field to set them yourself. Check the badge after you add a tab before you teach a shortcut to anyone.
Backing up and sharing a layout
In the dialog, use the Import/Export drop-down at the bottom right.
- Export all customizations saves a file with the
.exportedUIextension. It includes both your ribbon and your QAT. - Import customization file loads such a file.
Exporting is the practical way to move your setup to a new computer, or to give a team the same tabs.
Resetting
The Reset drop-down has two choices:
- Reset only selected Ribbon tab restores one built-in tab to its default contents. It is the safer choice when one change went wrong.
- Reset all customizations removes every ribbon and QAT change you made.
Because the second option also clears the QAT, export first if you have invested time in both.
Common problems
- The Add button is unavailable. You have a built-in group selected. Select a custom group, or create one.
- A new tab appears in the wrong place. The tab is inserted after the item you selected. Move it with the arrows.
- A command shows a plain icon or only text. Some commands have no icon. Excel shows a generic symbol, and you can rename the command for clarity.
- Your layout is missing on another computer. Customizations are per profile, not per workbook. Export and import them.
- The ribbon looks different on a narrow window. Excel collapses groups into drop-down buttons when space is short. This is normal, and the group icon you chose is what you see.
Choosing between the QAT and a custom tab
| Need | Better choice |
|---|---|
| A few commands always one click away | QAT |
| A set of related commands, organized by task | Custom tab |
| Commands available through Alt+number | QAT |
| Labeled groups with icons and text | Custom tab |
Exercise
You open Customize the Ribbon, select the built-in Font group on the Home tab, and find that the Add button is unavailable. What are two ways to get a command such as Paste Values onto your ribbon?
Show answer
Built-in groups cannot receive commands. First option: select a tab, click New Group to create a custom group (on Home or on a new tab), then select that group and click Add. Second option: click New Tab, which creates a custom tab with a custom group already inside it, then add the command to that group.
Exercise
A colleague asks how to give your new "My Tools" tab to the whole team. Describe the steps, and name the risk to check before they apply it.
Show answer
Open File > Options > Customize Ribbon, use Import/Export, and choose Export all customizations to create an .exportedUI file. Each teammate opens the same dialog and chooses Import customization file. The risk is that importing replaces all of their existing ribbon and QAT customizations, so they should export their own layout first.