Update spreadsheet with different files each day

paul1301

New Member
Joined
Feb 28, 2018
Messages
1
Hi All,
I have been reading through this forum for a while and struggling to come up with a solution.

In my job we have a spreadsheet that has to have two spreadsheets (downloaded from SAP) daily, these need coping and pasting into a tab on our spreadsheet and completing a SUMIF, now the Macro for the SUMIF part is easy.

However is there any way I can get a macro to take these two files updated daily and copy them into my spreadsheet and complete the update process automatically.
Notes
  • The Two downloads are always saved in two separate folders assigned by SAP auto download.
  • There is two Separate tabs on Excel were these need copying and pasting (Which currently we do manually).

As there is also other files in the same ones in there i cant use the latest one for example.

Another way I thought would be to have a prompt for the user to select the file they wish to use and then process will automatically do the copy and paste and relevant updates (SUMIF).

Hope you help.

Thank you.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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