The problem is that all your codes are 1.
Replace:
Array(0, 1), Array(5, 1), Array(11, 1),.........
with:
Array(0, 2), Array(5, 2), Array(11, 2),..........

Signature
Gary''s Student - gsnu200775
> I'm using TextToColumns in a macro to convert several huge text files
> to a spreadsheet. Some of the raw data is numbers but I need everything
[quoted text clipped - 19 lines]
>
> Mike Henry
Mike H - 27 Mar 2008 16:03 GMT
Ok, thanks.
That works but the description in the help file sounds like
"0" is for general
"1" is for text
"2" is for a date format.
I guess not.
M.H.
-------------------------------
> "Gary''s Student" wrote:
> The problem is that all your codes are 1.
> Replace:
> Array(0, 1), Array(5, 1), Array(11, 1),.........
> with:
> Array(0, 2), Array(5, 2), Array(11, 2),..........