ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Backup files in separate directory? (https://www.excelbanter.com/excel-worksheet-functions/58088-backup-files-separate-directory.html)

Martyn B Tindall

Backup files in separate directory?
 
Is there no way to get Excel to put .XLK files in a different
directory from .XLS files? (E97)

TIA,


--
Martyn Tindall
Leeds, England, United Kingdom

(To reply, please remove "spamfree.".)

Dave Peterson

Backup files in separate directory?
 
Nope.

But you could create a macro that would save the workbook and save a copy.

Something like:

Option Explicit
Sub testme()
With ActiveWorkbook
.Save
.SaveCopyAs Filename:="C:\my backups\" & .Name
End With
End Sub



Martyn B Tindall wrote:

Is there no way to get Excel to put .XLK files in a different
directory from .XLS files? (E97)

TIA,

--
Martyn Tindall
Leeds, England, United Kingdom

(To reply, please remove "spamfree.".)


--

Dave Peterson


All times are GMT +1. The time now is 09:56 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com