using batch command to make a backup xls file

kwg

Board Regular
Joined
Apr 26, 2003
Messages
75
I have searched and searched....want to use cmd DOS *.bat to create command to make a daily copy of a LAN file back to hard drive in case support team can not provide backup tapes.

I might be showing my age ...used to do it in DOS...all I see is VB methods upon searching. Can NE1 help?
 

Some videos you may like

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

earlyd

Well-known Member
Joined
Dec 10, 2002
Messages
1,199
Another idea might be to create a "before close" event macro...

Private Sub Workbook_BeforeClose(Cancel as Boolean)
Your "save as" code here - could append the date and time
End Sub
 

Watch MrExcel Video

Forum statistics

Threads
1,122,489
Messages
5,596,455
Members
414,069
Latest member
StudExcel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top