Text to Column with fixed width in VBA

K

kathy.aubin

I have text file with about 300 lines items that are not delimited
but
the width of each columns is fixed and do have the value. For
example,
cell 1 is char(1-2), cell 2 is char(2-14)....
I want to be able to copy the whole thing in Excel, run a macro that
split the string into the different cell.
I can manually do it using the Text to Column function and setting
the
width one by one but it's time consuming since this import is
occuring
everyday.

Can you help?


Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top