Yea that would probably work. Maybe something like: x = InStr(1,Input #1, Chr(9) if x <> 0 then do one thing else do something else Tom On Apr 13, 2010, at 7:49 PM, Spencer Ted wrote: > > On 13 Apr, 2010, at 7:46 PM, Tom Russell wrote: > >> Does anyone have a sure fire way to tell whether the file you are opening is a tab delimited or single column? > > Read a few bytes and see if you encounter a chr$(9) (I think: whatever an ASCII Tab is)??? There shouldn't be any in a single column file. > > -- > Ted Spencer > > -- > To unsubscribe, send ANY message to: futurebasic-unsubscribe@... >