ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Save a BackUp of Workbook (https://www.excelbanter.com/excel-programming/331497-save-backup-workbook.html)

Rocky McKinley

Save a BackUp of Workbook
 
I would like to save a back up copy of the current workbook everytime it is
saved. I would like to use the BeforeSave event. How do I acheive this
without altering the normal save path?

--
Regards,
Rocky McKinley




Robin Hammond[_2_]

Save a BackUp of Workbook
 
Rocky,

Something like:

Sub SaveBackup()
ActiveWorkbook.SaveCopyAs "c:\temp\backup.xls"
End Sub

Robin Hammond
www.enhanceddatasystems.com

"Rocky McKinley" wrote in message
...
I would like to save a back up copy of the current workbook everytime it is
saved. I would like to use the BeforeSave event. How do I acheive this
without altering the normal save path?

--
Regards,
Rocky McKinley







All times are GMT +1. The time now is 06:19 AM.

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