View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 6,953
Default Find the Length of a Text File

Use the LOF command?

--
Regards,
Tom Ogilvy


"Dan R." wrote:

I always use this to find the length of a text file but isn't there a
better way?

While (EOF(1) < True)
Input #1, ' text
count = count + 1
Wend

Thanks,
-- Dan