From the File menu - Save As - then give it a different name. Regards
BrianB
** Let us know if you get something that works !
================================
Oh My ROTFL ; i really should have explained My need a little Better Perhaps..
umm i need to save My Currrent Worksheets In my workBook AS Seprate
XLS Workbooks themselves...so each Worksheet Is a different XLS File..
i need to Perform this thru VBA Code...As in MACROS..
(" there does that help"
You'll make a name for yourself by posting like that (tsk, tsk!)
Public Sub saveAllWorkbooks()
Dim i As Integer
Dim w As Workbook
i = 1
For Each w In Workbooks
If (w.Name <> ThisWorkbook.Name) Then
w.SaveAs "C:\LOG" & i & ".xls"
w.Save
i = i + 1
MsgBox w.Name & "is saved!" & vbCrLf & "Praise the Lord!"
Windows(w.Name).Close
End If
Next w
End Sub
This subroutine has been brought to you by the letter w and the number 6.
D. "I want to play..."
(Guess the X-Files episode!)
Sub saveAllSheets()
Application.ScreenUpdating = False
For Each sht In ActiveWorkbook.Worksheets
sht.Copy
ActiveWorkbook.SaveAs "C:\Temp\" & sht.Name & ".xls"
ActiveWorkbook.Close
Next
MsgBox "Now all the worksheets are saved as" & vbCrLf & "seperate workbooks as per your request"
End Sub
Rgds
~Geoff~
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.