I am using excel 2003 and I need to make 29 copies of one sheet form a workbook to another all at once. Does anyone know of a way to do that?
I am using excel 2003 and I need to make 29 copies of one sheet form a workbook to another all at once. Does anyone know of a way to do that?
gale Select the sheet then right-click on tab and "Move or Copy" Check the "create a copy" button and in "to book:" select New Book. Now you have one copy in a new book. To make 28 more run this macro. Sub SheetCopy22() Dim i As Long Application.ScreenUpdating = False howmany = InputBox("Copy Active Sheet How Many Times?") For i = 1 To howmany ActiveSheet.Copy Before:=Sheets(1) Next i Application.ScreenUpdating = True End Sub Gord Dibben Excel MVP On Fri, 11 Feb 2005 07:27:05 -0800, "galeanne"
Hi not quite all at once without using code .. but one way to get to what you want reasonably fast would be: with the workbook that you want to copy the sheet from open (let's call it book 1) choose tools / options / general and set sheets in new workbook to 28 now choose file / new and open a new workbook with the 28 sheets (book 2) - go back to tools / options / general and set sheets in new workbook to 3 (or whatever you want) now from the window menu switch back to book 1 right mouse click on the sheet that you want to copy to the new book choose move or copy sheet tick the create a copy check box (v.important) from the drop down list choose Book 2 choose to copy it before all other sheets click OK - you will be automatically switched to book 2 with the sheet copied in. now you need to select all the sheets in the workbook - the "copied in" sheet should be in front of you and on the left of all other sheet tabs, click on its sheet tab and then click on the little arrow (bottom left of screen) that takes you to the last worksheet - hold down the shift key & click on the last worksheet you should see all the sheet tabs turn white (let the shift key go) now select all the cells on the sheet that you can see (should still be the "copied in" sheet) then choose from the menu edit / fill / across worksheets all Ok and you should now have 29 copies of the same thing, Don't forget to ungroup the sheets, by right mouse clicking on a sheet tab and choosing ungroup sheets. Cheers JulieD
Sub DupSheet() Dim Counter As Integer Application.ScreenUpdating = False For Counter = 1 To 28 ActiveSheet.Copy , Worksheets(ActiveWorkbook.Sheets.Count) ActiveSheet.Name = "Sheet" & Counter + 1 ''Modify as needed Next End Sub Gord Dibben Excel MVP On Sun, 13 Feb 2005 01:21:01 +0800, "JulieD" < XXXX@XXXXX.COM >
1.Copying multiple sheets to new Workbook
Is it possible to "split" mutliple worksheets into mutiple workbooks in a single function? For example, if there are 15 worksheets in one workbook that I would like to "split" into 15 individual workbooks, is it possible to move them all at once as opposed to performing an individual copy to new workbook for each tab? Any help is appreciated, Ashley
2.Copying multiple sheets into a NEW workbook
3.Copy fixed range of multiple sheets into new workbook
I have a workbook with multiple sheets in them. I want to copy a particular fixed range of each sheet, in which the sheetname ends on PY) into a new workbook. For example sheetname= Emuls(actual vs PY) range b4:s40. Each range has to be copied into a (seperate) new sheet with the sheetname it had on the original workbook. I have no clou how to start the procedure???? thankx in advance
4.copy selected tabs from multiple workbooks to a new workbook
I want to compare a user text input to the name of a worksheet tab(A or B), and if the user input matches A or B copy the corresponding tab to a new workbook, in order to combine selections from 8 sources to one workbook
5.Change link-source on file after copy the sheet into new a new workbook
Hello, I like to have a macro that made a copy of the actual sheet into a new workbook (create a copy -> new book). Then the macro has to save directly the file into the directory C:/ Apps with the name "Template-date-time.xls" (date and time as actual). After that the action should be taken: menuaction "Edit -> Links -> Change Source" and then change the source to the before saved filename. Why this action.... because my file has buttons on it. When I copy the sheet with the buttons on it, it will get "links" to the original file because of the VBA codes on it. Possible ?? or another solution ? greetings from John
6. Copy sheet from one workbook to a new workbook without having them linked
7. copy sheets in workbook to new workbook
8. Copy Range to a New WorkBook + Name Sheet a cell Value + Name WorkBook another Celll Value
Users browsing this forum: No registered users and 66 guest