Macro to copy data between files based on date

tjsisley

New Member
Joined
Apr 28, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hey all,

I have a requirement to create a macro that copies data from one file to a second file based on a date. I have a vision of the end user enters the relevant date in a pop up box and then the macro runs and saves the destination file with the new data. The destination file is in a shared location that all team members have access too.

The source file's are named, "FTA Report" & the data in YYYY-MM-DD, this format is always consistent, the file can have up to 4 sheets, however if that sheet is blank for a specific day then there will be no sheet for that day.
The destination file is also housed in the same area as the shared drive.

Below is the format for each cell - Column A is the date that defines which data is copied over
ABCDEFGHIJKL
dateintintintstringstringintstringdatetimedatetimestringstring

thanks for any help guys!
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,223,956
Messages
6,175,612
Members
452,660
Latest member
Zatman

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