Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Setup / January 2005

Tip: Looking for answers? Try searching our database.

can I choose office to create a backup file on another drive?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jamo - 27 Jan 2005 09:51 GMT
Can I have Excel create a backup of my document automaticaly to my chosen
location?  

I know previous versions used to create a backup on the same directory as
the original document.
Gord Dibben - 27 Jan 2005 18:12 GMT
Jamo

Not as far as I know.

Backups are saved in the Excel default file location.

You could create a macro that will save the file at the default location and a
copy to the folder of your choice.

The macro could be run manually or in beforesave code in ThisWorkbook.

Sub BUandSave2()
'Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
'Saves the current file to a backup folder and the default folder
'Note that any backup is overwritten
   Application.DisplayAlerts = False
   ActiveWorkbook.SaveCopyAs FileName:="E:\GordStuff\Backup\" & _
           ActiveWorkbook.Name
   ActiveWorkbook.Save
   Application.DisplayAlerts = True
End Sub

Gord Dibben Excel MVP

>Can I have Excel create a backup of my document automaticaly to my chosen
>location?  
>
>I know previous versions used to create a backup on the same directory as
>the original document.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.