VBA: Copy Data from Daily downloaded Excel Files to a template

Imran_IsshackNY

Board Regular
Joined
Feb 3, 2021
Messages
83
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Hi All,

I was wondering if anyone can assist me here. I usually do this process daily, manually. The typical process is to take downloaded files and update a template, which performs calculations on the data, then it's moved to another Place.

Objective: I'm trying to copy and paste data from multiple Excel CSV downloaded files into a template with multiple tabs. The files names(Downloads), would usually match the sheet tab names.

Is there a way in VBA to match the Sheet tab names to the file names and move the data from the downloaded daily files onto the matching sheet tab? See the Screenshot for a visual. I don't have a code that I have tried.

Thanks in advance for your help.
Imran
 

Attachments

  • Example Pic.JPG
    Example Pic.JPG
    152.3 KB · Views: 19

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Imran_IsshackNY

Board Regular
Joined
Feb 3, 2021
Messages
83
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile

Forum statistics

Threads
1,144,392
Messages
5,724,078
Members
422,536
Latest member
Zeeshan53

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