Over 1000 Sheets in a workbook

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I was given a workbook with over 1000 worksheets. How can I convert all
these to their own workbook? I really don't want to do it manually!
 
Sub Savetime()
dim sh as Worksheet
for each sh in workbooks("BigBook.xls").worksheets
sh.copy
Activeworkbook.SaveAs "C:\MyFolder\" & sh.name & ".xls"
ActiveWorkbook.close Savechanges:=False
Next
end Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top