once opened for binary, you can also read the file using input or line input

depending on the size of your files i would just read entire file into a single string, then use instr to find if your search string was included in the file

vb Code:
  1. open "Somefile.doc" for binary as 1
  2.   mystr = input(lof(1),#1)
  3. close 1
  4. pos = instr(1, mystr, searchstr, vbtextcompare)
  5. if pos > 0 then msgbox "found in this file"
i know thiswill work in text files containing end of file characters, and i have tested with word doc, but i can not promise that it will always find the correct answers
this being the case, the same code will work as you use for text files, except open for binary