Asked By Pete_UK
11-Oct-07 05:31 PM
When you record a macro you often get things you don't really need.
Here you change the directory, so you don't need the full path in the
SaveAs command.
Anyway, do you really want to save it as Book1 (with a date added)? If
so, then you can try this:
ActiveWorkbook.Saveas Filename:= _
FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
Note the changes following "Book 1" on the second line. You might want
to change the format string.
Hope this helps.
Pete