File Copy Macro

  • Thread starter Thread starter Nigel Bishop
  • Start date Start date
N

Nigel Bishop

I am trying to set a macro which will backup an open file to a network
location. I currently use the file save as route but this requires me to use
the save as command twice. I would rather not use the auto backup feature as
the file is very large and takes quite a time to save.
Thanks in advance
Nigel
 
Nigel,

Look at the SaveCopyAs method.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Hi Nigel

Sub BackMeUp()
ThisWorkbook.SaveCopyAs "C:\Temp\Backup.xls"
End Sub

it will not change your "main" file location, so "Save" will still go to where it
originated.
 
Back
Top