importing CSV data from files with changing names

andrewb90

Well-known Member
Joined
Dec 16, 2009
Messages
1,067
I am looking for a way to import CSV data from different files into my existing spreadsheet and fill it into my cells. For example one file will be labeled Z005_13 and cells B11:C35 will need to be copied from that file. Now everyday the file name will change. the two digits at the end will represent the day of the month from the file.
Basically the reports we normally print out we use to fill out our daily sales reports, I want the data to go from a flash card and import into my excel file and fill it out automatically.
The people that will be using this are not excel savvy and I am hoping to make this as easy as possible.
Is it possible to make two macros, one that updates the date for the files you want to use and causes the next macro to change, and one to actually import the file you need?

Anybody have any idea how I could accomplish this?

Regards,

Andrew
 

Some videos you may like

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Watch MrExcel Video

Forum statistics

Threads
1,095,929
Messages
5,447,361
Members
405,447
Latest member
WPY

This Week's Hot Topics

Top