VBA Create a Copy of Sheet Multiple Times

unknownymous

Board Regular
Joined
Sep 19, 2017
Messages
249
Office Version
  1. 2016
Platform
  1. Windows
Hi Guys,

I was wondering if you could help me on this. I have this Sheet with tab name "All Region" which is a formatted list. I want to create 8 copies onto the same workbook and just rename it as follows:

1. Germany
2. France
3. UK
4. US
5. Ireland
6. Canada
7. Other EU
8. Asia

Any help will be much appreciated.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Maybe this, assuming your list in cells "A1:A8"

Code:
Sub MM1()
For Each cell In Range("A1:A8")
   Sheets.Add(After:=Sheets(Sheets.Count)).Name = cell.Value
Next cell
End Sub
 
Last edited:
Upvote 0
Assuming you want to make copies of a sheet named:
All Region

And name these sheet using the values in Range("A1:A8")

Try this:
Code:
Sub Create_a_Copy_of_Sheet_Multiple_Times()
'Modified  1/24/2019  1:48:11 AM  EST
For Each cell In Range("A1:A8")
    Sheets("All Region").Copy After:=Sheets(Sheets.Count)
        ActiveSheet.Name = cell.Value
Next cell
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,882
Messages
6,175,165
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top