How do I duplicate a sheet 20 times in an excel spreadsheet

D

danzil

Hi. I am using windows 2000
I am trying to duplicate a sheet in my Excel spreadsheets 20 times without
having to copy one at a time. is there a way to do this?
In other words I want to repeat my first sheet 20 times so that I have 20
sheet of the same information.
Thanks
 
F

Frank Kabel

Hi
record a macro while doing this manually and insert a loop to do this
multiple times). without macros not possible
 
D

Dave R.

You can record a macro and then edit like the following;

Sub SheetCopy()

For i = 1 To 20
Sheets("Sheet1").Copy Before:=Sheets(1)
Next

End Sub
 
P

Peo Sjoblom

You would only have to do it a few times, first select the sheet, then create
a copy, then select both sheets and create copies of them, then select the 4
copies and make copies of them, next time you would have 16 copies and then
you just select 4 copies and make copies of them. Less than a minute

Regards,

Peo Sjoblom
 
G

Gord Dibben

danzil

VBA macro OK with you?

Sub SheetCopy22()
Dim i As Long
Application.ScreenUpdating = False
howmany = InputBox("Copy Active Sheet How Many Times?")
For i = 1 To howmany
ActiveSheet.Copy After:=Sheets(1)
Next i
Application.ScreenUpdating = True
End Sub

Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top