Import or open text file and directly transpose the data

Bahgia

New Member
Joined
Dec 21, 2009
Messages
1
Greetings and merry christmas for anyone celebrating it.

I want to open or import a text file. It has range of up to 10,000 and row to up to 200. I'm using excel 2003 at office.
I've tried import the data using text import wizard (try using excel 2007). However not all column can be displayed in step 3.

Is there anyway I could just open the text file and all data will be transposed?

If this issue has been raised please help me to where is it located?

Thanks.:)
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
I don't think that is possible to do the transosing while importing.

A better bet would be to write a parsing macro that runs through the text and adds the data in columns.

Try searching on 'parsing text file'

The macro should not be too difficult:
Open the text file, read through the text parsing on your delimiter, and then writing the parsed text donw in a column.
When the CrLf character is encountered the next column is used.
at the end close the text file.
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,397
Members
448,957
Latest member
Hat4Life

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