Text To Column

jstevens
GoldLounger
Posts: 2631
Joined: 26 Jan 2010, 16:31
Location: Southern California

Text To Column

Post by jstevens »

I know how to convert text to columns but am having a challenge conceptually with the VBA as it relates to the FieldInfo:=Array.

I would like to create generic code to open a flat file and convert the text to column. Since this would be generic code, the total elements in the array would change based on the flat file being used.

Your thoughts would be appreciated,
John
Regards,
John

User avatar
HansV
Administrator
Posts: 78608
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Text To Column

Post by HansV »

Best wishes,
Hans

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: Text To Column

Post by Rudi »

Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

jstevens
GoldLounger
Posts: 2631
Joined: 26 Jan 2010, 16:31
Location: Southern California

Re: Text To Column

Post by jstevens »

Thank you Hans.

John
Regards,
John