TextToColumns Method: How to use xlFixedWidth?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to simulate what I do manually with the Text to Column function
in Datas menu. Basically I have a range select, I go to T to C function, I
chose FixedWidth, then but 2 separators at 30 and 60. How would I do that
using the TextToColumns in VB?
 
VB or VBA?

In VBA, I'd record a macro when I did it manually.

In VBA, I'd record a macro when I did it manually and then try to change it to
run from VB.
 

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

Back
Top