#1   Report Post  
tea1952
 
Posts: n/a
Default copying worksheets

can you copy worksheets without doing it one at a time if you want like 50
worksheets that are all the same in the same workbook?
  #2   Report Post  
Jim Rech
 
Posts: n/a
Default

I'd use a macro. A simple example:

Sub DupSheet()
Dim Counter As Integer
Application.ScreenUpdating = False
For Counter = 1 To 50
ActiveSheet.Copy , Worksheets(ActiveWorkbook.Sheets.Count)
ActiveSheet.Name = "Sheet" & Counter + 1 ''Modify as needed
Next
End Sub

--
Jim Rech
Excel MVP
"tea1952" wrote in message
...
| can you copy worksheets without doing it one at a time if you want like 50
| worksheets that are all the same in the same workbook?


  #3   Report Post  
John Mansfield
 
Posts: n/a
Default

The only way that I know of to do this would be to use VBA. Assuming your
workbook contains only one sheet called "Sheet1", try:

Sub CopySheet()
Application.ScreenUpdating = False
Dim cnt As Integer
cnt = 1
Do Until cnt = 50
On Error Resume Next
Sheets("Sheet1").Copy Befo=Sheets(cnt)
Sheets(cnt).Name = "Sheet" & cnt + 1
cnt = cnt + 1
Loop
End Sub

----
Regards,
John Mansfield


"tea1952" wrote:

can you copy worksheets without doing it one at a time if you want like 50
worksheets that are all the same in the same workbook?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP! How do you--> Lock a set of rows but also link worksheets to FRUSTRATED Excel Discussion (Misc queries) 6 December 29th 04 10:05 PM
printing an array of worksheets Marco de Witte Excel Discussion (Misc queries) 4 December 8th 04 03:21 PM
Linking to Worksheets on Excel -Saved Web Page Lawman Links and Linking in Excel 3 December 8th 04 08:13 AM
data entry on multiple worksheets diosdias Excel Discussion (Misc queries) 1 December 7th 04 05:33 PM
Assigning Cells in worksheets to other data in other worksheets. David McRitchie Excel Discussion (Misc queries) 0 November 27th 04 06:15 PM


All times are GMT +1. The time now is 11:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"