Use 1 Macro across multiple workbooks located in a specific folder

company1

New Member
Joined
Feb 7, 2014
Messages
1
Hello Everyone,
I have a question regarding Macro's. I have seen a similar question posted here before but I'm afraid my knowledge was not as advanced as the person who asked the question, so i didn't really understand the response!
I have a Macro saved in my Personal.xls workbook that converts the content of a workbook into a format that i can copy and paste into a CSV to enable me to import the data into a database. Currenlty i open each workbook, run the macro, then copy and paste the results into a CSV file, this continues for each workbook which is up to 50 per day. I would like to apply that same macro to all workbooks that are saved in a specific folder. That way all i have to do is the copy and paste the results from each workbook into the CSV. Can anyone help me figure out how to do this? I am on excel 2007 and am pretty much a beginner i would say.
Look forward to any suggestions and thank you in advance.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,215,419
Messages
6,124,796
Members
449,189
Latest member
kristinh

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