J
jvine
Hi again,
My other problem is how to make the current "backup" macro include the
ability to automatically save itself every 60 minutes to a different
location than the original file?
Thanks,
Nene.
--------------------------------------------------------------------------------
Sub Backup()
'
' Backup Macro
'
'
Dim sFileName$
Application.ScreenUpdating = False
sFileName = ThisWorkbook.Path & "\" & Format(Date, "ddmmyyyy") &
".xls"
Sheets("Barcodes").Select
ActiveSheet.Copy
'ActiveSheet.Buttons(1).Delete
ActiveWorkbook.SaveAs sFileName, FileFormat:= _
xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=True
ActiveWorkbook.Close savechanges:=False
MsgBox "The Barcodes for Form Checks have been saved as " &
sFileName & "!"
Application.ScreenUpdating = True
End Sub
My other problem is how to make the current "backup" macro include the
ability to automatically save itself every 60 minutes to a different
location than the original file?
Thanks,
Nene.
--------------------------------------------------------------------------------
Sub Backup()
'
' Backup Macro
'
'
Dim sFileName$
Application.ScreenUpdating = False
sFileName = ThisWorkbook.Path & "\" & Format(Date, "ddmmyyyy") &
".xls"
Sheets("Barcodes").Select
ActiveSheet.Copy
'ActiveSheet.Buttons(1).Delete
ActiveWorkbook.SaveAs sFileName, FileFormat:= _
xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=True
ActiveWorkbook.Close savechanges:=False
MsgBox "The Barcodes for Form Checks have been saved as " &
sFileName & "!"
Application.ScreenUpdating = True
End Sub