Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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) "Nigel Bishop" wrote in message ... 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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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. -- HTH. Best wishes Harald Followup to newsgroup only please. "Nigel Bishop" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to save and close, then copy file | Excel Discussion (Misc queries) | |||
Copy file with a macro | Excel Discussion (Misc queries) | |||
Using Macro to Save Copy of File to New Location | Excel Discussion (Misc queries) | |||
creat a macro to save a copy with different file name | Excel Discussion (Misc queries) | |||
Select File Copy/Paste Macro Help.... | Excel Programming |