Check source folder for newly updated EXCEL files and make a copy in destination folder.

rinuk143

New Member
Joined
Feb 4, 2015
Messages
1
Hi Could you please help me with the scenario below?

My source folder is called "Source\Files\"

It also has shortcuts folder that is shortcuts of the all original files say "Source\Shortcuts\". These shortcuts point to files in "Source\Files" folder.


----
I need to create a backup of this source folder.

We will call it "Backup\Files\"
and the new shortcut folder will be called "Backup\Shortcuts"

I want to write a macro that I will run once every month, it will check for any excel file that is updated in "Source\Files" folder, make a copy of this in "Backup\Files" and update the shortcuts in the "Backup\Shortcuts" to point to the new files.

None of the existing file names will change, however there might be new files added in "Source\Files" folder during the month.

I have researched and found macros that will copy and create a back up, but the key thing here is to only update files that have been changed or newly created, also to amend the shortcuts.

many thanks for your time and help.

regards
rinuk
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,215,614
Messages
6,125,848
Members
449,266
Latest member
davinroach

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
Back
Top