VBA Copy and Paste Data from a daily file into another sheet

Status
Not open for further replies.

mik1996

New Member
Joined
Mar 15, 2023
Messages
23
Office Version
  1. 365
  2. 2021
  3. 2019
Platform
  1. Windows
Hi,

I have an important process in work which i am trying to simplify, I basically need to copy the data (highlighted yellow) in this sheet below and paste it into a new sheet which gets updated every day (it would be great if it could look at the date in a cell on the new sheet and get the information from the file on that particular date). The problem i've found is that the source data will change each day as its a daily workbook so the file name will change each day and folder location will change each month etc. ,
K:\Finance\Protected Funding Sheets\Barclays cash funding\Daily Funding Calculation\2023\04. April\24 April 2023 BCA CSH Daily.xlsx

1686563826896.png


I would ideally like it for the data to be pasted into a sheet like this below (or something similar) if that is possible at all
1686563959359.png


Any help on this at all would be really appreciated as it causes me a lot of hassle each day
Thanking you in advance,
 

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.
Status
Not open for further replies.

Forum statistics

Threads
1,223,937
Messages
6,175,513
Members
452,650
Latest member
Tinfish

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