View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
joel[_570_] joel[_570_] is offline
external usenet poster
 
Posts: 1
Default search text files for a certain word


You file is probably binary

Open pathname For mode [Access access] [lock] As [#]filenumber

You need to change you mode to binary in the open statement


from
Open f For Input As filenumber
to
Open f For Binary As filenumber


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=170778

Microsoft Office Help