hi,
i have run into a very interesting problem and i am not sure if its my code or the text file.
First: The text file in question has an extension of ".csv" and i can NOT do anything about it but the file is actually "tab delimited".
When i open the file using this command in excel vba
Please Login or Register to view this content.
apparently after this
x should be an array where every row is another element in the array. AFter i do the above code there is only a single element in the "x" array. Also there appears to be lots of "tab" values in the first part of the x-element. Like the first 50 or more places appear to be maybe tab characters.Please Login or Register to view this content.
However, if i take the "same" text file open it in notepad and then save it .........
x is as it should be where there are multiple elements in the array where each element is a row of data in the file.
i know it would be helpful if i posted the text file but i cant as it has propriatary information ...........
please help!!!!!!!!!!! any ideas at all.......is it the file or the way i am trying to read in the file...........
Bookmarks