Extracting Several Delimited Text Files Using Macro

beautiful_mind

New Member
Joined
Oct 30, 2013
Messages
1
Hello.
I'm new to macro and it would be vey kind of anyone to help me with my problem.
So I have several text files in a folder, all with the same format.
Like this;

--------------------------
File Information
--------------------------
File Name: , XXXXX
File Type: ,XXXX
Comment: ,none
--------------------------
Concentration Table
--------------------------
A1 , A2 , A3 ,
0.314 , 0.499 , 0.733 ,
70.185 , 111.580 , 163.969 ,
79.40 , 16.14 , 4.46 ,
-----------------------------------

Can anyone teach me how to make a macro that can separate these A1, A2 and A3 data into different rows and column and to repeat the process for all the text files in the folder

Thank you in advance! :)
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,214,834
Messages
6,121,876
Members
449,056
Latest member
ruhulaminappu

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