Save Sheets as Separate Wksheets

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

Guest

Hello,

I am looking for some help to create a macro that saves each sheet in a
workbook as a separate worksheet named the same as the sheet.

....not sure where to begin.

Thanks in advance.
 
Hi Todd,

Try something like:

'=============>>
Public Sub Tester()
Dim WB As Workbook
Dim SH As Worksheet

For Each SH In ActiveWorkbook.Worksheets
SH.Copy
With ActiveWorkbook
.SaveAs Filename:=SH.Name & ".xls", _
FileFormat:=xlWorkbookNormal
.Close SaveChanges:=False
End With
Next SH
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