Thread: text in file
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Tim Williams Tim Williams is offline
external usenet poster
 
Posts: 1,588
Default text in file

Use native VBA functions or the FileSystemObject to read the file into a
string variable, then use instr() to check for your text.

Tim

"codie" wrote in message
...


Oops, sorry. I needed to mention that the file being searched is a
simple text file.