Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I've try make a macro to copy all worksheets from one Workbook and create
another workbook with same ammount of sheets somebody can help ? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you copy sheets and don't use copy a new workbook is create with only one
page. Try this code First = True For Each sht In ThisWorkbook.Sheets If First = True Then sht.Copy Set newbk = ActiveWorkbook First = False Else sht.Copy after:=newbk.Sheets(newbk.Sheets.Count) End If Next sht "CC" wrote: I've try make a macro to copy all worksheets from one Workbook and create another workbook with same ammount of sheets somebody can help ? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Why not just save the file as a new name?
Or use windows explorer to copy the file? CC wrote: I've try make a macro to copy all worksheets from one Workbook and create another workbook with same ammount of sheets somebody can help ? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy one macro to another workbook | Excel Worksheet Functions | |||
Macro to copy an image (or picture) from one workbook to a new sheetin another workbook | Excel Worksheet Functions | |||
Copy workbook, don't copy macro | Excel Discussion (Misc queries) | |||
How can I copy a macro into another workbook? | New Users to Excel | |||
Copy macro to another workbook | Excel Discussion (Misc queries) |