Rename an Excel worksheet

How to rename a single Excel worksheet using Excel, VBA and Shortcut methods

METHOD 1. Rename an Excel worksheet by double-clicking on a worksheet

EXCEL

Double-click on a worksheet > Rename the worksheet > Press Enter key

1. Double-click on the worksheet that you want to rename.
Note: in this example we are renaming Sheet2.
Double-click on the sheet that you want to rename - Excel

2. Enter the name of the worksheet that you want to rename it to and press the Enter key.
Note: in this example we are renaming from Sheet2 to Data.
Enter the name of the sheet - Excel

METHOD 2. Rename an Excel worksheet using the sheet option

EXCEL

Right-click on a worksheet > Rename > Rename the worksheet > Press Enter key

1. Right-click on the worksheet that you want to rename.
Note: in this example we are renaming Sheet2.
2. Click Rename.
Right-click on the sheet that you want to rename and select Rename - Excel

3. Enter the name of the worksheet that you want to rename it to and press the Enter key.
Note: in this example we are renaming from Sheet2 to Data.
Enter the name of the sheet - Excel

METHOD 3. Rename an Excel worksheet using the ribbon option

EXCEL

Select a worksheet > Home tab > Cells group > Format > Rename Sheet

1. Select the worksheet that you want to rename.
Note: in this example we will be renaming Sheet2.
Select a specific worksheet - Excel

2. Select the Home tab. Select Home tab - Excel

3. Click Format in the Cells group.
4. Click Rename Sheet.
Select Format from Cells group and click Rename Sheet - Excel

5. Enter the name of the worksheet that you want to rename it to and press the Enter key.
Note: in this example we are renaming from Sheet2 to Data.
Enter the name of the sheet - Excel

METHOD 1. Rename an Excel worksheet using VBA

VBA

Sub Rename_a_Worksheet()
'declare a variable
Dim ws As Worksheet
Set ws = Worksheets("Sheet2")
'rename Sheet2 to Data
ws.Name = "Data"

End Sub

OBJECTS
Worksheets: The Worksheets object represents all of the worksheets in a workbook, excluding chart sheets.
PREREQUISITES
Worksheet Name: Have a worksheet named Sheet2.

ADJUSTABLE PARAMETERS
Worksheet Selection: Select the worksheet that you want to rename by changing the Sheet2 worksheet name in the VBA code to any worksheet in the workbook.
Rename Worksheet: Rename a worksheet to any name, within Excel limits, by changing the Data worksheet name in the VBA code.

METHOD 2. Rename an Excel worksheet from a list using VBA

VBA

Sub Rename_a_Worksheet()
'declare a variable
Dim ws As Worksheet
Set ws = Worksheets("Sheet2")
Set wsname = Worksheets("Parameters").Range("C2")
'rename Sheet2 to Data
ws.Name = wsname.Value

End Sub

OBJECTS
Worksheets: The Worksheets object represents all of the worksheets in a workbook, excluding chart sheets.
Range: The Range object is a representation of a single cell or a range of cells in a worksheet.
PREREQUISITES
Worksheets Names: Have two worksheets named Sheet2 and Parameters.
Minimum Number of Worksheets: Have at least two worksheets, named Sheet2 and Parameters.
Rename Worksheet: Cell C2 in the Parameters worksheet needs to be populated with the name that you want to rename a worksheet to.

ADJUSTABLE PARAMETERS
Worksheet Selection: Select the worksheet where you hold the new worksheet name by changing the Parameters worksheet name in the VBA code.
Worksheet Selection: Select the worksheet that you want to rename by changing the Sheet2 worksheet name in the VBA code to any worksheet in the workbook.

Rename a worksheet using a Shortcut

SHORTCUT

WINDOWS SHORTCUT

Alt
H
>
O
>
R

NOTES
Select the worksheet you want to rename, then action the shortcut. The shortcut will highlight the name of an active worksheet and you can then rename the worksheet.

Explanation about how to rename a worksheet

EXPLANATION

EXPLANATION
This tutorial explains and provides step by step instructions on how to rename a single worksheet using Excel, VBA and Shortcut methods.

Excel Methods: Using Excel you can rename a worksheet with a ribbon option, sheet option or double-clicking on the worksheet you want to rename.

VBA Methods: Using VBA you can rename a worksheet by directly entering the name that you want to rename the worksheet to or by referencing to a cell that holds the name that you want to rename a worksheet to.

Shortcut Method: Using a Shortcut you can highlight the name of an active worksheet and you can then rename the worksheet.