Importing .out files to excel in different columns

N Prakash

Active Member
Joined
Nov 7, 2003
Messages
409
Hi,

I have huge .out files placed in a separate folder and I want to import all the files to different columns in an excel sheet. Each .out file is having 1000 rows of records with serial numbers and values. The delimiter is space. The first two lines in the .out files are to be ignored. While importing all the .out files serial numbers are to be removed and only the values are to be pasted to a column. each records (only values) are to be pasted to a new column. I was looking for VBA codes and tried few which did not meet my requirements. Any help please. sample date is as follows from one file:

"Convergence history of Velocity Magnitude on pi1 (in SI units)"
"Iteration" "Area-Weighted Average Velocity Magnitude"
1 46.44282002092158
2 46.43021896418101
3 46.40768289527503

Regards
Prakash
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

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