How to Change Worksheet Tab Color in Excel (3 Handy Ways)

Get FREE Advanced Excel Exercises with Solutions!

In many cases, we may need to add or change the worksheet tab color in Excel. This helps you identify any worksheet very easily. Also, adding or changing worksheet colors helps categorize the worksheets.

In this Excel tutorial, you will learn how to change the worksheet tab color using 3 different methods.

The image below shows the worksheet tab color of tab “January” is changed by right-clicking on the tab and choosing a tab color from the Tab Color option.

change worksheet tab color in Excel


3 Ways to Change Worksheet Tab Color in Excel

In Excel, you can change the worksheet tab color by right-clicking it, using the Format feature from the Home tab, and VBA code.

To change the worksheet tab color, we will use a workbook containing Sales Datasets of 5 consecutive months of a shop. The worksheets in the workbook are named after the month of sales it contain.

Showing the Tabs

The 3 methods to change the worksheet tab color in Excel are described below:

Right-clicking on the Worksheet Tab

You can change the color of the single or multiple worksheet tabs by right-clicking on them. Here are 4 different cases of changing tab color in Excel by right-clicking.

Case 1: Single Worksheet

To change the color of a single worksheet by right-clicking on the tab, follow the steps below:

  1. Right-click on the worksheet tab.
  2. Select the Tab Color.
  3. Select any color of your choice.
    Here, we will select Blue.Right-clicking to change tab color of single worksheet

You will have your output as shown in the below screenshot.

worksheet tab color after changing

Note:

The tab color appears lighter when selected. To view the full color, select a different tab.

Also, to add colours other than those present in Standard Colors or Theme Colors, you can choose the More Colors option. This will open the Colors menu and give you more options, including a color map and RGB or Hex codes.

Case 2: Multiple Adjacent Worksheets

You can easily change the tab color of multiple adjacent worksheets by selecting those worksheets using the Shift key and then changing their tab color.

Follow the steps given below to change the tab color of multiple adjacent worksheet tabs:

  1. Select the first worksheet tab you want to color.
    Here, we selected the “January” worksheet.
  2. Press Shift and select the last worksheet tab.
    In this case, we selected “March”. This will select all the adjacent worksheets between the selected two sheets. Here, you can notice the “February” named worksheet has already been selected.
  3. Right-click on any of these worksheets > select Tab Color > select any color of your choice.
    Here, we will select Blue.Selecting and changing the tab color of Multiple adjacent worksheets

Thus, the worksheet tab color of adjacent worksheets has changed to blue color in Excel.

worksheet tab color of Multiple adjacent worksheets after changing

Case 3: Multiple Non-Adjacent Worksheets

If you want to change the tab color of multiple non-adjacent worksheets, then you just hold the Ctrl key to select the tabs.

To change multiple non-adjacent worksheet tab colors, go through the steps below:

  1. Press the Ctrl key and select the worksheet tabs.
  2. Right-click on any selected worksheet > select Tab Color > select any color of your choice.
    Here, we will select Blue.Selecting and changing tab color of Multiple non-adjacent worksheets

Now, you will see the tab color of your selected sheets has been changed.

worksheet tab color of Multiple non-adjacent worksheets after changing

Case 4: All Worksheets

When you want to change the tab color of all the worksheets in a workbook, you can do that by selecting all the sheets first.

Follow the steps below to change the tab color of all worksheets:

  1. Select any worksheet tab and right-click on it.
    Here, we will select the January named worksheet and right-click on it.
  2. Click on the Select All Sheets.
    This will select all the worksheets in your workbook.Selecting all worksheets
  3. Right-click on any selected worksheet > select Tab Color > select a color.
    Here, we will select Blue.Changing tab color of all worksheet

Thus, all the worksheet tab colors will change.worksheet tab color of all worksheets after changing


Using Format Feature from Home Tab

You can change the tab color from the Format feature in the Home tab in Excel. However, it requires more steps to access the feature, which can be time-consuming in case of changing multiple worksheets tab color.

To change the worksheet tab color to using the Format feature, follow the steps below:

  1. Select the worksheet tab.
  2. Go to Home tab > Cells group > select Format > Tab Color > choose any color.
    Here, we will select Blue.Using Format Feature from Home Tab

Finally, you will have the color of your worksheet tab changed to blue.

Worksheet Tab Color after Using Format Feature from Home Tab in Excel

You avail of this Format feature by using Excel hot keys also. To change tab color using hot keys:

Select the worksheet tab > press Alt > H > O > T > select any color of your choice.

Changing Worksheet Tab Color Applying Keyboard Shortcuts

Here, we used the Alt key to activate the hotkeys, then pressed H to select the Home tab, O to select the Format feature, and T to select the Tab Color menu.

Finally, you will have your output as shown in the below screenshot.

Worksheet Tab Color After Applying Keyboard Shortcuts


Using VBA Code

You can use the VBA code to change the worksheet tab color automatically. Before applying the VBA, check whether your Excel shows the Developer tab. If your Excel does not show the Developer tab, enable it from the ribbon.

Follow the steps mentioned below to change the color of the worksheet tab VBA to Yellow using VBA:

  1. Go to the Developer tab > click on Visual Basic.Clicking on Visual Basic to open Microsoft Visual Basic Editor
  2. In the Microsoft Visual Basic Editor, click on Insert > select Module.Inserting Module
  3. Copy the following code in your module and go back to your worksheet.
    Sub ChangeSheetColor()
    Dim Sht As Worksheet
    'assigning the variable to a worksheet
    Set Sht = Worksheets("VBA")
    'changing the sheet tab color
    Tab.Color = vbYellow
    End Sub
  4. Go to the Developer tab > click on Macros.Clicking on Macros to select a macro to run
  5. Select ChangeSheetColor macro and click Run.Running Macro to Change Worksheet Tab Color in Excel

This will change the color of the worksheet tab to Yellow.

worksheet tab color after running a macro


How to Remove Worksheet Tab Color in Excel

Sometimes you may be required to remove the worksheet tab color. Suppose you want to remove the color of the worksheet tab in January.

To remove the worksheet tab color, right-click on the worksheet tab > select Tab Color > select No Color.

Removing worksheet tab color by right-clicking on worksheet

Thus, the worksheet tab color is removed from the selected tab.

After removing worksheet tab color


Why Can’t You Apply, Change, or Remove the Tab Color?

While changing the worksheet tab color you may run into a problem where you may see that the Tab Color menu is greyed out. As a result, you can not apply the change or remove the tab color of those worksheets.

Cannot change tab color

This may occur if your Excel workbook is a Protected Workbook. Unprotect this file to apply, change, or remove your worksheet tab color.

To unprotect your Excel workbook, go to the Review tab > click Protect Workbook > insert your password > click OK.

Protected workbook


Tips for Using Colored Worksheet Tabs in Excel

Here are some tips for using colored worksheet tabs in Excel to make them more attractive and meaningful.

  • Use Theme Color: When adding colors to multiple worksheets, try to use colors from the same Theme colors. This will make your project look cohesive and attractive.
  • Try to Maintain Pattern: If you have many worksheets, instead of using different colors each time, try to use the colors in a pattern, such as blue, green, and yellow, or use the colors according to their purpose.
  • Add Different Types of Custom Color-coding: Try to add different types of highlighting, borders, and gradients while adding colors to your worksheet tabs to make it more attractive. You can also use conditional formatting, where the colors of the worksheet tab will change according to the value of that sheet.

Download Practice Workbook

You can download the practice workbook from the link below.


Conclusion

In this tutorial, you have learned how to change the worksheet tab color in Excel with 3 different methods. You can right-click on the worksheet name, or use the Format feature and VBA to change the tab color in Excel. Also, we have shown how to remove the worksheet tab color. If you have any queries, please drop a comment below.


Frequently Asked Questions

How do I change the tab font color in Excel?

You can change the color of the tab but not the font color. However, if a dark tab color is selected, the font color will automatically switch to white, whereas a light tab color will change the font color to black.

Can I change the default tab color for all new worksheets I create?

Excel does not allow setting a default tab color for all new worksheets. You need to change the color manually for each sheet.

Is there a way to alphabetically sort worksheets based on their tab colors?

Excel has no built-in feature to sort worksheets based on tab colors. Worksheets can be sorted alphabetically, regardless of their colors.


Related Articles


<< Go Back to Sheets Tab in Excel | Excel Parts | Learn Excel

What is ExcelDemy?

ExcelDemy - Learn Excel & Get Excel Solutions Center provides online Excel training , Excel consultancy services , free Excel tutorials, free support , and free Excel Templates for Excel professionals and businesses. Feel free to contact us with your Excel problems.
Sowmik Chowdhury
Sowmik Chowdhury

Sowmik Chowdhuri, with a BSc in Naval Architecture & Engineering from Bangladesh University of Engineering and Technology, serves as a crucial Excel & VBA Content Developer at ExcelDemy. His profound passion for research and innovation seamlessly aligns with his unwavering dedication to Excel. In this role, Sowmik not only skillfully addresses challenging issues but also demonstrates enthusiasm and expertise in gracefully navigating intricate situations, highlighting his steadfast commitment to consistently deliver content of exceptional quality and value. Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo