Maintaining the same fixed width layout for columns for delimited text

rob0762

New Member
Joined
Oct 1, 2013
Messages
1
Hello,

I have approximately 250 .txt files that I need to put into excel that are fixed width delimited text. I have attempted to use the import text wizard, which works smoothly, except every time I open a new file I have to re-align the fix width spacing of the columns which takes about a minute for each file

I found a potential work around:
Saving a fixed-width import layout | Wizard of Excel

but it's still not too effective because all of my text files are large and this makes the excel very slow because of too many equations.

What would be the best way to automate this process to get all of these .txt files into excel? I'd be willing to click through the import text wizard for all 250 files if I can maintain the same spacing in the "data preview screen" or potentially run a macro which could do the same thing? I would just have to count the number of spaces between inputs once.

Thanks!
-Rob
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,213,534
Messages
6,114,186
Members
448,554
Latest member
Gleisner2

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