If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
converting lot of microsoft worksheets to separate workbook
I have 300 worksheets in a workbook, now I want to convert
all the 300 worksheets into a separate, separate workbook totall I should have 300 workbooks, please tell me the shortcut method to do this,please reply to my mail, |
#2
|
|||
|
|||
converting lot of microsoft worksheets to separate workbook
Hi
With a macro you can do this Sub test() Dim a As Integer Dim wb As Workbook Application.ScreenUpdating = False For a = 1 To ThisWorkbook.Worksheets.Count ThisWorkbook.Sheets(a).Copy Set wb = ActiveWorkbook wb.SaveAs "C:\Yourfolder" & wb.Sheets(1).Name & ".xls" wb.Close False Set wb = Nothing Next a Application.ScreenUpdating = True End Sub Possible problem can be Copying Worksheet Programmatically Causes Run-Time Error 1004 http://support.microsoft.com/default...84&Product=xlw -- Regards Ron de Bruin http://www.rondebruin.nl "n.venkatasubramanian" wrote in message ... I have 300 worksheets in a workbook, now I want to convert all the 300 worksheets into a separate, separate workbook totall I should have 300 workbooks, please tell me the shortcut method to do this,please reply to my mail, |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hyperlink to individual worksheets in same workbook | kgriffith | General Discussion | 5 | June 22nd, 2004 06:35 PM |
How to sort info from separate worksheets on summary sheet | USNRet | General Discussion | 1 | June 21st, 2004 05:24 PM |
How many worksheets in one workbook? | Janice Lathen | New Users | 2 | May 17th, 2004 05:54 PM |
format multible worksheets in a workbook | Eric | Worksheet Functions | 2 | May 12th, 2004 03:21 AM |
Get list worksheet names for only visible worksheets in a workbook | Norman Harker | Worksheet Functions | 1 | February 15th, 2004 08:39 AM |