Text to Column with fixed width in VBA

  • Thread starter Thread starter kathy.aubin
  • Start date Start date
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,
 
Back
Top