Create different workbooks from only one workbook

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

Guest

I have one workbook with 15 sheets. I want Excel to generate one separate
workbook from each sheet in the book. Is this possible?

Thanks in advance

Regards,
Emece.-
 
Emece

You can use a macro.

Sub Make_New_Books()
Dim w As Worksheet
Application.ScreenUpdating = False
Application.DisplayAlerts = False
For Each w In ActiveWorkbook.Worksheets
w.Copy
ActiveWorkbook.SaveAs FileName:=ThisWorkbook.Path & "\" & w.Name
ActiveWorkbook.Close
Next w
Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub


Gord Dibben Excel MVP
 

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