How to make sheet tab name equal to cell value in Excel?
In some cases, you may need to rename a worksheet based on a specified cell value. In this article, we will show you methods of making sheet tab name equal to cell value in Excel.
Make sheet tab name equal to cell value with VBA code
Make sheet tab name equal to cell value with Kutools for Excel
Make sheet tab name equal to cell value with VBA code
With the following VBA code, you can make sheet tab name equal to cell value automatically.
1. Right click the sheet tab which you want to make the sheet name equal to cell value, then click View Code from the right-clicking menu. See screenshot:
2. Copy and paste below code into the Code window, and then press Alt + Q keys simultaneously to close the Microsoft Visual Basic for Applications window.
VBA code: Make sheet tab equal to cell value
Private Sub Worksheet_Change(ByVal Target As Range)
'Updated by Extendoffice 20230130
On Error Resume Next
If Not Intersect(Target, Range("A1")) Is Nothing Then
ActiveSheet.Name = ActiveSheet.Range("A1")
ElseIf Not Intersect(Target.Dependents, Range("A1")) Then
ActiveSheet.Name = ActiveSheet.Range("A1")
End If
End Sub
Note: In the code, A1 is the cell which contains the value you need to use as sheet name. You can change it as you need.
From now on, when the value in cell A1 changed, the sheet tab name will be changed equally as well.
Make sheet tab name equal to cell value with Kutools for Excel
In this section, we introduce you the Rename Multiple Worksheets utility of Kutools for Excel. With this utility, you can easily rename worksheets with certain cell’s value in Excel.
Before applying Kutools for Excel, please download and install it firstly.
1. Click Kutools Plus > Worksheet > Rename Multiple Worksheets. See screenshot:
2. In the Rename Multiple Worksheets dialog box, you need to do as follows.
You can see the selected worksheets are renamed by the specified range value immediately as below screenshot shown.
Notes:
If you want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.
Make sheet tab name equal to cell value with Kutools for Excel
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!













