paste to 7 new sheets

288enzo

Well-known Member
Joined
Feb 8, 2009
Messages
721
Office Version
  1. 2016
Platform
  1. Windows
How would I go about copying one sheet
VBA Code:
Sheets("Dealer Status").Cells.Copy
and paste it into 7 new sheets without having to write
VBA Code:
Sheets.Add Count:=7
Sheets("Sheet7").Paste
Sheets("Sheet6").Paste
Sheets("Sheet5").Paste
Sheets("Sheet4").Paste
Sheets("Sheet3").Paste
Sheets("Sheet2").Paste
Sheets("Sheet1").Paste
Is there a more efficient way or is what I have perfectly okay?

Thank you
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
How about this:

VBA Code:
Sub CopySheetxTimes()
'
    Dim x As Long
'
    For x = 1 To 7                                        ' Create 7 duplicate sheets
        ActiveSheet.Copy After:=Sheets(Sheets.Count)
        ActiveSheet.Name = "Sheet" & x
    Next
End Sub
 
Upvote 0
How about this:

VBA Code:
Sub CopySheetxTimes()
'
    Dim x As Long
'
    For x = 1 To 7                                        ' Create 7 duplicate sheets
        ActiveSheet.Copy After:=Sheets(Sheets.Count)
        ActiveSheet.Name = "Sheet" & x
    Next
End Sub
 
Upvote 0
How about this:

VBA Code:
Sub CopySheetxTimes()
'
    Dim x As Long
'
    For x = 1 To 7                                        ' Create 7 duplicate sheets
        ActiveSheet.Copy After:=Sheets(Sheets.Count)
        ActiveSheet.Name = "Sheet" & x
    Next
End Sub
Thank you, I didn't realize that your code also reacted the new sheets. That saved me another line of code, thank you very much for the help.
 
Upvote 0

Forum statistics

Threads
1,214,785
Messages
6,121,543
Members
449,038
Latest member
Guest1337

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