#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 28
Default backing up

Hi.

Can't believe I can't do this. I'm trying to backup a spreadsheet.

I can't find a product that will do it the way that I want.

I want to backup my spreadsheet every 10 minutes whether a change has been
made to the spreadsheet or not. I want to save every copy with the date and
time appended to the copy.

I only want to delete the copies every 30 days or so. I must be doing
something wrong.

Note: I am not trying to make an incrimental copy. I want to make a full
copy of the same spreadsheet every ten minutes.
--
vze2mss6
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default backing up

This might be of some relevance ..

In xl2003 (my ver),
under Tools Options Save tab
there are options to set AutoRecover
to run every x minutes (default is 10 min),
and to define the save location as well.

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"joesf16" wrote:
Hi.

Can't believe I can't do this. I'm trying to backup a spreadsheet.

I can't find a product that will do it the way that I want.

I want to backup my spreadsheet every 10 minutes whether a change has been
made to the spreadsheet or not. I want to save every copy with the date and
time appended to the copy.

I only want to delete the copies every 30 days or so. I must be doing
something wrong.

Note: I am not trying to make an incrimental copy. I want to make a full
copy of the same spreadsheet every ten minutes.
--
vze2mss6

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default backing up

Max,

I suggest that you check up on the difference between autorecovery and
backup. They do very different jobs
--
David Biddulph

"Max" wrote in message
...
This might be of some relevance ..

In xl2003 (my ver),
under Tools Options Save tab
there are options to set AutoRecover
to run every x minutes (default is 10 min),
and to define the save location as well.


"joesf16" wrote:
Hi.

Can't believe I can't do this. I'm trying to backup a spreadsheet.

I can't find a product that will do it the way that I want.

I want to backup my spreadsheet every 10 minutes whether a change has
been
made to the spreadsheet or not. I want to save every copy with the date
and
time appended to the copy.

I only want to delete the copies every 30 days or so. I must be doing
something wrong.

Note: I am not trying to make an incrimental copy. I want to make a
full
copy of the same spreadsheet every ten minutes.
--
vze2mss6



  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default backing up

David,

Why not enrich us directly with your explanation,
which could also incorporate a suggestion for the OP?

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Max,

I suggest that you check up on the difference between autorecovery and
backup. They do very different jobs
--
David Biddulph



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default backing up

Just some background:

xl2k and below came with an optional addin called AutoSave.xla. It could be set
to save every x minutes (user selectable). And it just saves the file at those
intervals.

xl2002+ comes with something called autorecovery. It's also optional, but if
the user turns it on, it saves a copy of that workbook in a special location
(also user selectable). If windows or excel crashes, then the next time excel
opens, it notices that there's a file in that location. Excel prompts the user
to see if he/she wants to recover that file that was saved when excel/windows
crashed.

This autorecovery feature isn't used for the same purpose as AutoSave.

(If you have a copy of autosave.xla from a previous version, it'll work with
xl2002+, too.)

And Gord Dibben posted this:

Autosave.xla from Office 2000 or 97 will work with Excel 2002 or 2003.
If you have a previous copy, move it to your Office\Library.
To download the 97 version see here........
http://www.stat.jmu.edu/trep/Marchat/sp2001/Library.htm

==
I've never tried it in xl2007. If you're using xl2007, you may want to do some
testing before you rely on it.

===========
But since you don't want to have the user select options to turn on autosave,
you may find adding an ontime macro that runs every so often to your workbook's
project.

Chip Pearson explains how to use application.ontime:
http://www.cpearson.com/excel/ontime.htm

I went to Chip's site and added some stuff that saved a copy of a .xls file in
the same folder as the original file.

This goes into a General module:

Option Explicit
Public RunWhen As Double
Public Const cRunIntervalSeconds = 600 '10 minutes (10*60)
Public Const cRunWhat = "SaveABackupCopy" ' the name of the procedure to run
Sub Auto_Open()
Call StartTimer
End Sub
Sub Auto_Close()
Call StopTimer
End Sub
Sub StartTimer()
RunWhen = Now + TimeSerial(0, 0, cRunIntervalSeconds)
Application.OnTime EarliestTime:=RunWhen, _
Procedu=cRunWhat, Schedule:=True
End Sub
Sub SaveABackupCopy()
Dim NewFileName As String
If ThisWorkbook.Path = "" Then
'never saved, don't do anything
Else
If LCase(Right(ThisWorkbook.Name, 4)) = ".xls" Then
NewFileName = Left(ThisWorkbook.FullName, _
Len(ThisWorkbook.FullName) - 4) _
& "_" & Format(Now, "yyyymmdd_hhmmss") & ".xls"
ThisWorkbook.SaveCopyAs Filename:=NewFileName
End If
End If
'get ready for the next time
StartTimer
End Sub
Sub StopTimer()
On Error Resume Next
Application.OnTime EarliestTime:=RunWhen, _
Procedu=cRunWhat, Schedule:=False
End Sub

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm


joesf16 wrote:

Hi.

Can't believe I can't do this. I'm trying to backup a spreadsheet.

I can't find a product that will do it the way that I want.

I want to backup my spreadsheet every 10 minutes whether a change has been
made to the spreadsheet or not. I want to save every copy with the date and
time appended to the copy.

I only want to delete the copies every 30 days or so. I must be doing
something wrong.

Note: I am not trying to make an incrimental copy. I want to make a full
copy of the same spreadsheet every ten minutes.
--
vze2mss6


--

Dave Peterson


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
Backing up folder dan Excel Discussion (Misc queries) 4 July 21st 06 04:16 AM
Backing up Excel file AccessHelp Excel Discussion (Misc queries) 3 January 18th 06 11:59 PM
backing up Excel workbooks. Primepixie Excel Discussion (Misc queries) 1 November 8th 05 03:31 PM
Backing Up Greg B Excel Discussion (Misc queries) 7 March 4th 05 03:45 PM
Backing Up Greg B Excel Worksheet Functions 7 March 4th 05 03:45 PM


All times are GMT +1. The time now is 02:32 AM.

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

About Us

"It's about Microsoft Excel"