It is possible if use "For Each Next statment"
I wonder if my sample code satisfy your need, here's a sample code.
Sub SampleForEach()
Dim Sh As Worksheet
For Each Sh In Worksheets
'Please write here "macro for format"
Sh.Copy
ActiveWorkbook.Close True
Next
End Sub
It seems like this will work,but I want to keep the new workbooks open. Changing Close to Save As doesn't seem to be working. Any suggestions? Thanks :-) Adrae
Hi
:I want to keep the new workbooks open
So please replace
ActiveWorkbook.Close True
«
ActiveWorkbook.Saveas "fullpath"
This misses the last sheet. How can I modify the code to include this sheet? Thanks Again :-)
Alice
The formatting is skipped on the last sheet not the copying.
This misses the last sheet. How can I modify the code to include this sheet? Thanks Again :-)