Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to copy multiple sheets multiple times in Excel?

Sometimes, we may need to make a copy or multiple copies of specified worksheets in a workbook. Here are some quick ways to help you easily copy one worksheet or multiple worksheets multiple times in Excel.

 Only several clicks to make multiple copies of multiple worksheets in active workbook

In general, we can copy multiple worksheets with the Move or Copy feature in Excel. However, this feature can make only one copy at a time. Here, with Kutools for Excel's Copy Worksheets utility, you can easily to make as many copies of many worksheets as you need in the active workbook by several clicks only. Full Feature Free Trial 60-day!
ad copy multiple worksheets 01

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!

Excel Productivity Tools

Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial

Kutools for Excel: Save 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately. 60-day Unlimited Free Trial


  Make one copy of multiple worksheets one time into active workbook or another workbook with Move or Copy command


With the Move or Copy command in Excel, you can make one copy of a worksheet, multiple specific worksheets or all worksheets into active workbook or another workbook at a time.

1. In the certain workbook where you will copy worksheets, select multiple worksheets on the Sheet Tab bar.
Note: Holding CTRL key, you can select multiple nonadjacent sheet tabs with clicking them one by one on the Sheet Tab bar; holding SHIFT key, you can select multiple adjacent sheet tabs with clicking the first sheet tab and the last one on the Sheet Tab bar.

2. Right click the selected sheet tab on the Sheet Tab bar, and select Move or Copy from the context menu. See screenshot:
doc copy multiple sheets 01

3. In the Move or Copy dialog box, please specify the following settings:
(1) Please specify the destination workbook you will copy worksheets into from the To book drop down list. You can choose the active workbook, another open workbook, or a new workbook as you need.
(2) Specify the position of the copied sheets on the Sheet Tab bar, you can choose after all of the existing sheets.
(3) Check Create a copy option, if you don’t check this option, the selected worksheets will be moved into the destination workbook.
(4) Click the OK button.

Now it will make only one copy the selected worksheets into the specified workbook. To make multiple copies of these worksheets, you can repeat the operation multiple times.


  Make multiple copies of one specified worksheet into active workbook with VBA code

If you want to make 10 copies of a specified worksheet, the Move or Copy command will be a time-consuming way, and you must repeat the operation many times. But with the following VBA code, you can quickly copy the worksheet 10 times at once.

1. Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste the following code in the Module Window.

VBA: Make multiple copies of a certain worksheets into active workbook

Sub Copier ()
Dim x As Integer
x = InputBox("Enter number of times to copy Sheet1")
For numtimes = 1 To x
ActiveWorkbook.Sheets("Sheet1").Copy _
After:=ActiveWorkbook.Sheets("Sheet1")
Next
End Sub

Note: In the above code, replace "Sheet1" with the name of the sheet to be copied.

3. Then press F5 key to run the code, a prompt box appears to ask you the number of sheet copies you want.

4. Then click OK, the specified worksheet has been copied 100 times in the active workbook.


  Make multiple copies of multiple worksheets into active workbook with Kutools for Excel

Though it is simple to make a copy of multiple worksheets in Excel, if you want to make multiple copies of multiple worksheets in current workbook, you may have to use the Move or Copy command item again and again. Would like to get the thing done in one click? With the Copy Worksheets utility of the third party add-in Kutools for Excel, you are able to make multiple copies of multiple worksheets in one click in Excel.

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!

1. Click Kutools Plus > Copy Worksheets. See screenshot:

Note: Clicking Kutools Plus > Worksheet > Copy Worksheets will also get this feature.

2. Apply settings in the Copy Multiple Worksheets dialog box:
(1) Check the worksheets you want to be copied from Copy the selected worksheets section.
(2) Specify The number of copies.
(3) Determine the position of the copied sheets, for example, before or after all worksheets, before or after current worksheet.
(4) Click the Ok button.

3. A prompt box pops out to remind you the checked worksheets have been copied into multiple times as you need, please click the OK button to exit it. See screenshot:

This Copy Multiple Worksheets feature of Kutools for Excel will make multiple copies of multiple specified worksheets in the active workbook with several clicks only. Have a Free Trial!


 Make one copy of multiple worksheets from multiple workbooks into a new one

If you have Kutools for Excel installed, you can also apply its Combine Worksheets feature to make one copy of multiple worksheets from multiple closed workbooks into a new workbook with several clicks only in Excel.

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!

1. Click Kutools Plus > Combine to activate the Combine Worksheets feature.

2. In the Combine Worksheets – Step 1 of 3 wizard, please check the Combine multiple worksheets from workbooks into one worksheet option, and click the Next button. See screenshot:

3. In the Combine Worksheets – Step 2 of 3 wizard, please do as following screenshot shown:
(1) Click Add > File or Folder to add workbooks you will copy worksheets from.
(2) In the Workbook list section, check the workbook whose worksheets you will copy;
(3) In the Worksheet list section, check the worksheets you will copy;
(4) Repeat above (2) and (3) to select worksheets from other workbooks you will copy.
(5) Click the Next button.

4. In the Combine Worksheets – Step 3 of 3 wizard, please configure the copying settings as you need, and click the Finish button.

5. Now in the new dialog, please specify a destination folder to save the new workbook, name the new workbook in the File name box, and click the Save button. See screenshot:

Now another two dialog boxes will come out and ask you to open the new workbook and save the combination scenario, please click buttons as you need. So far, it has copied all specified worksheets from multiple workbooks at a time.

With this Combine (Worksheets) utility, you can easily copy and combine worksheets and workbooks as following list shown. Have a Free Trial!
(1) Quickly combine multiple worksheets / ranges from workbooks into one worksheet;
(2) Quickly merge / combine all worksheets of the same name across workbooks into one worksheet;
(3) Quickly merge / combine worksheets or workbooks into one workbook;
(4) Quickly summarize / calculate data from multiple worksheets into one worksheet.


Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  • Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  • Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  • Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  • No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  • Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  • 60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  • Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Tyler Dempsey · 2 years ago
    I am new to this I am just trying to make copies of the same sheet this is the code I am using.

    Sub Copier()
    Dim s As String
    Dim numtimes As Integer
    Dim numCopies As Integer
    numCopies = InputBox("How many copies do you need?")
    s = InputBox("Enter the name of the Worksheet you want to copy")
    For numtimes = 1 To numCopies
    ActiveWorkbook.Sheets(s).Copy _
    After:=ActiveWorkbook.Sheets(Worksheets.Cou nt)
    Next
    End Sub

    when i use the code it gives me the error of "Syntax Error" then this text turns red ActiveWorkbook.Sheets(s).Copy _
    After:=ActiveWorkbook.Sheets(Worksheets.Cou nt) and the is text turns yellow Sub Copier() what can i do to fix it.
    • To post as a guest, your comment is unpublished.
      Schuyler · 2 years ago
      [quote name="Tyler Dempsey"]I am new to this I am just trying to make copies of the same sheet this is the code I am using.

      Sub Copier()
      Dim s As String
      Dim numtimes As Integer
      Dim numCopies As Integer
      numCopies = InputBox("How many copies do you need?")
      s = InputBox("Enter the name of the Worksheet you want to copy")
      For numtimes = 1 To numCopies
      ActiveWorkbook.Sheets(s).Copy _
      After:=ActiveWorkbook.Sheets(Worksheets.Cou nt)
      Next
      End Sub

      when i use the code it gives me the error of "Syntax Error" then this text turns red ActiveWorkbook.Sheets(s).Copy _
      After:=ActiveWorkbook.Sheets(Worksheets.Cou nt) and the is text turns yellow Sub Copier() what can i do to fix it.[/quote]


      Here is the exact code you want to use:


      Sub Copier()
      Dim s As String
      Dim numtimes As Integer
      Dim numCopies As Integer
      numCopies = InputBox("How many copies do you need?")
      s = InputBox("Enter the name of the Worksheet you want to copy")
      For numtimes = 1 To numCopies
      ActiveWorkbook.Sheets(s).Copy _
      After:=ActiveWorkbook.Sheets(Worksheets.Count)
      Next
      End Sub
    • To post as a guest, your comment is unpublished.
      Schuyler · 2 years ago
      [quote name="Tyler Dempsey"]I am new to this I am just trying to make copies of the same sheet this is the code I am using.

      Sub Copier()
      Dim s As String
      Dim numtimes As Integer
      Dim numCopies As Integer
      numCopies = InputBox("How many copies do you need?")
      s = InputBox("Enter the name of the Worksheet you want to copy")
      For numtimes = 1 To numCopies
      ActiveWorkbook.Sheets(s).Copy _
      After:=ActiveWorkbook.Sheets(Worksheets.Cou nt)
      Next
      End Sub

      when i use the code it gives me the error of "Syntax Error" then this text turns red ActiveWorkbook.Sheets(s).Copy _
      After:=ActiveWorkbook.Sheets(Worksheets.Cou nt) and the is text turns yellow Sub Copier() what can i do to fix it.[/quote]


      Double check your code and make sure you don't have a space at ActiveWorkbook. Sheets(s).Copy _ or at Sheets(Worksheets.Cou nt)
  • To post as a guest, your comment is unpublished.
    Simon · 2 years ago
    Fantastic VBA code - really helped
  • To post as a guest, your comment is unpublished.
    Barry · 2 years ago
    When I first tried it, I got the error message because I didn't change the name Sheet1. After I realized what caused the error, I researched a little further, as I did not want to be manually entering the sheet name into the macro. And when I need this feature, it is almost always for the current sheet.

    I added the line a = activesheet.name
    And revised the line after:=activeworkbook.sheets("sheet1") to activeworkbook.sheets(a).copy _

    That worked very well, but I did notice the numbering was reversed ... that didn't bother me as I was going to manually rename the new sheets anyway.

    When I saw Schuyler's post, I further revised the line activeworkbook.sheets(a).copy _ to after:=activeworkbook.sheets(worksheets.count)

    I am now satisfied with the result. My finished macro:

    Sub copies()
    Dim x As Integer
    x = InputBox("Enter number of times to copy Sheet1")
    For numtimes = 1 To x
    ActiveWorkbook.Sheets("Sheet1").Copy _
    After:=ActiveWorkbook.Sheets(Worksheets.Count)
    Next
    End Sub

    ---
    All the best, Barry
    • To post as a guest, your comment is unpublished.
      MJ · 1 years ago
      i got syntax error on "After:=ActiveWorkbook.Sheets(Worksheets.Count)


      but i dunno whats wrong... Can u help me please?
    • To post as a guest, your comment is unpublished.
      Kate · 1 years ago
      Thank you so much Barry. Your finished macro is the only thing that worked for me.
  • To post as a guest, your comment is unpublished.
    stalag 17 · 2 years ago
    where i will insert this above code in vba should i create common button then inside ?? regards.
    • To post as a guest, your comment is unpublished.
      Adi · 1 years ago
      Follow the below steps:
      1. Copy the above code
      2. Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.
      2. Click Insert > Module, and paste the following code in the Module Window.
      4.Then press F5 key to run the code
      5.A prompt box appears to ask you the number of sheet copies you want.
  • To post as a guest, your comment is unpublished.
    Susan · 3 years ago
    I get an error that 'numtimes' is not defined...?