Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this Audio_freak
Sub test() Application.ScreenUpdating = False For a = 1 To Worksheets.Count Sheets(a).Copy ActiveWorkbook.SaveAs Sheets(1).Name ActiveWorkbook.Close Next a Application.ScreenUpdating = True End Sub -- Regards Ron de Bruin (Win XP Pro SP-1 XL2000-2003) www.rondebruin.nl "Audio_freak" wrote in message . 2.2... Hi, Happy New Year Could anybody assist me with the code for saving each sheet to a separate (newly created) file? So that if I have an excel-file with 20 sheets, I would like a macro to create 20 separate files. The new files could get the same names as the sheets (preferably) or the names could be taken from a cell in the relevant sheet. Thanks for any help you can give. Peter |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Split text file into Excel sheet and separate the final results intoa new sheet | Excel Worksheet Functions | |||
How do I save a page in a workbook as a separate file? | Excel Worksheet Functions | |||
How do I save part of a worksheet in a separate file? | Excel Worksheet Functions | |||
Can I auto save to a separate file?(not the file I am working in) | Setting up and Configuration of Excel | |||
Excel kept on asking to save file every time I jump from one sheet to another! | Excel Worksheet Functions |