Combine multiple CSV files with a single sheet each into one workbook with several sheets grouped by categories

waptrick

New Member
Joined
Apr 20, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I'm pretty new to VBA and I am trying to do the following:

- Downloading search topics from Google Trends for specific categories across multiple geographies;
- For example, I am looking at USA airline demand by searching the following terms: flight, delta air lines, united airlines, american airlines and southwest airlines
- I do this across several travel categories such as airlines, tour operators, online travel agencies (OTAs) and cruises, and across the USA, UK, FRANCE, ITALY AND GERMANY
- Once I have manually downloaded the csv files into a folder I am looking to extract data from each csv file into one file called RDI raw data
- Each sheet would be labeled according to the category and geography (eg. USAairlines)
- In each sheet would be the data for the four/five search terms according to the category and geography

Does anyone know how to do this?
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,181,540
Messages
5,930,506
Members
436,743
Latest member
Cpdennis1

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