Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
mekraj
 
Posts: n/a
Default How do i save backup copy in a different folder

When i am saving a file by selecting "Always create backup", backup file is
saved in the same folder, how do i save this backup file in a different
folder. - Microsoft Excel 2000
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Try using the SaveAsCopy method instead.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"mekraj" wrote in message
...
When i am saving a file by selecting "Always create backup", backup file

is
saved in the same folder, how do i save this backup file in a different
folder. - Microsoft Excel 2000



  #3   Report Post  
Don Guillett
 
Posts: n/a
Default

Here is one I use to backup to the current directory\backup

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

"mekraj" wrote in message
...
When i am saving a file by selecting "Always create backup", backup file

is
saved in the same folder, how do i save this backup file in a different
folder. - Microsoft Excel 2000



  #4   Report Post  
Gord Dibben
 
Posts: n/a
Default

RP

This would require VBA code as Bob points out with the savecopyas method.

Sub BUandSave()
'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

You could use a BeforeSave Sub in Thisworkbook module.

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
BUandSave
End Sub


Gord Dibben Excel MVP

On Fri, 17 Dec 2004 11:11:30 -0000, "Bob Phillips"
wrote:

Try using the SaveAsCopy method instead.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"mekraj" wrote in message
...
When i am saving a file by selecting "Always create backup", backup file

is
saved in the same folder, how do i save this backup file in a different
folder. - Microsoft Excel 2000



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
Automatic backup copy craigq Charts and Charting in Excel 2 April 11th 05 04:57 PM
Save as Default folder Gerry Cornell Excel Discussion (Misc queries) 2 December 13th 04 06:41 PM
cannot save file - folder is read only BigDog Excel Discussion (Misc queries) 1 December 7th 04 11:18 PM
Calendar,Data valid. and "Save as Webpage" Jim Edwards Excel Discussion (Misc queries) 1 December 1st 04 02:33 AM
Convert text file to MS_Excel Aqua Flow Excel Discussion (Misc queries) 1 November 30th 04 02:55 AM


All times are GMT +1. The time now is 08:02 PM.

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"