Others

Duplicate an Excel Worksheet Many Times in a Workbook

John WilsonJohn Wilson Nov 20, 2026 869 views

Question details

Create approximately 90 daily worksheets from one formatted Excel template without copying each sheet individually.

How to Duplicate an Excel Worksheet Many Times
Product
Microsoft Excel
Device & OS
not provided
Scenario
A workbook needs a separate daily worksheet for each day, all based on the same template.
Observed behavior
The user wants many copies of the formatted template, preferably with worksheet names assigned automatically.
Before you start

Finish formatting the template sheet and decide whether you need 90 copies in addition to the template. For the VBA method, use desktop Excel and make sure macros are allowed.

Solution 1Recommended

Create and name 90 worksheet copies with VBA

Use a macro when you want Excel to create and name all daily sheets automatically.

This macro creates 90 new sheets named Day 001 through Day 090, in addition to the template. It stops before copying if any of those names already exists.

1
Name the template

In Excel, right-click the template worksheet tab, select Rename, and enter Template.

2
Open a VBA module

With the target workbook active, open the Visual Basic editor from Developer > Visual Basic, then select Insert > Module.

3
Paste the macro

Paste this code into the module: Sub CreateDailySheets() Dim wb As Workbook Dim templateSheet As Worksheet Dim existingSheet As Worksheet Dim sheetName As String Dim i As Long Set wb = ActiveWorkbook Set templateSheet = wb.Worksheets("Template") For i = 1 To 90 sheetName = "Day " & Format(i, "000") Set existingSheet = Nothing On Error Resume Next Set existingSheet = wb.Worksheets(sheetName) On Error GoTo 0 If Not existingSheet Is Nothing Then MsgBox "Sheet already exists: " & sheetName Exit Sub End If Next i For i = 1 To 90 templateSheet.Copy After:=wb.Worksheets(wb.Worksheets.Count) ActiveSheet.Name = "Day " & Format(i, "000") Next i End Sub

4
Run the macro

Click inside CreateDailySheets and select Run > Run Sub/UserForm. Check the new tabs in the workbook.

Create and name 90 worksheet copies with VBA
Saving the macro: If you want to keep the macro in the workbook, use File > Save As and choose Excel Macro-Enabled Workbook (.xlsm).
Work with worksheet templates in WPS

Copy a daily worksheet template in WPS Spreadsheet

Open your Excel workbook in WPS Spreadsheet and copy its template sheet to build daily worksheets. Rename each copy to keep the workbook organized.

  1. 1. Open the workbook: In WPS Spreadsheet, select Open and choose your Excel workbook.
  2. 2. Copy the template: Right-click the template sheet tab and choose Move or Copy Sheet.
  3. 3. Create the copy: Choose the current workbook and the desired position, select Create a copy, and confirm. Repeat for the daily sheets you need.
  4. 4. Rename the tabs: Double-click each copied sheet tab and enter its daily name, then use File > Save to save the workbook.
Reuse a formatted worksheet for daily entriesOpen and save Microsoft Excel formats such as XLSXUse familiar worksheet tabs and context menusWork with a free, easy-to-use office suite
microsoft office alternative - wps office

Frequently Asked Questions

Can Excel create and name all 90 worksheets automatically?

Yes. In desktop Excel, use Developer > Visual Basic to run a VBA macro that copies the template and assigns each new tab a name.

Does the macro create 90 sheets including the template?

No. The example creates 90 new daily sheets in addition to the sheet named Template. Change the upper limit in both For loops if you need a different number of copies.

What happens if a daily sheet name already exists?

The example macro checks for names from Day 001 through Day 090 before copying. If it finds one, it displays the name and stops without creating copies.

Can I copy several worksheet tabs without VBA?

Yes. In desktop Excel, select the tabs you want to copy and hold Ctrl while dragging them. Ungroup the sheets afterward and rename the new tabs individually.

Can I run the VBA macro in Excel for the web?

No. Excel for the web cannot run VBA macros. Open the workbook in desktop Excel to run the macro.