Text file into excel sheet

Mrchnexcel

New Member
Joined
May 29, 2018
Messages
1
I have a requirement like,
2018 - Folder,
Inside - 201801 to 201812
Inside - 201801 I may have 0 to n number of .txt files.
I have copy the txt file data into excel sheet.
like that upto 201812

Example :

Inside 201801 I have 3 txt files then my output will be three sheets under single excel for that particular folder.

The txt file should be delimited by comma.

After successfully copied the txt file data into excel sheets. all txt files present in that folder should be auto delete.

And also a log file should generate with summary of processing details like,

Year Month of Year Number of txt files Number of excel sheets Excel sheet name Number of delete txt files.
2018 201801 10 10 XXXXX.xlsx 10
2018 201802 05 05 YYYYY.xlsx 05

so on.....
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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