Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default making a backup

How can I make a copy of a workbook in another drive,
every time it is saved. I'd only want one copy which is
subsequently overwritten each time the original is saved

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default making a backup

This will create a sub directory in any directory and save a copy there as
well as save.

Sub Backup() 'kept in personal.xls & assigned to toolbar button
On Error GoTo BackupFile
MkDir CurDir & "\Backup"
BackupFile:
With ActiveWorkbook
MyWB = .Path & "\BACKUP\" & .Name
.SaveCopyAs MyWB
.Save
End With
End Sub

--
Don Guillett
SalesAid Software

"Dennis" wrote in message
...
How can I make a copy of a workbook in another drive,
every time it is saved. I'd only want one copy which is
subsequently overwritten each time the original is saved

Thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup JT Excel Discussion (Misc queries) 2 October 10th 08 12:10 AM
backup?? KDSarah1104 Excel Discussion (Misc queries) 3 July 18th 08 01:51 AM
backup Mark New Users to Excel 4 April 5th 05 04:24 PM
How do I shut off making a backup copy of a file when I save in E. kboley2004 Excel Discussion (Misc queries) 2 December 21st 04 10:41 PM
backup libby Excel Programming 1 January 14th 04 06:57 AM


All times are GMT +1. The time now is 01:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"