I want to pass a text file to a couple of different subs (or functions) each will search for a sting using the File, or TextStream, object line by line. I can't figure out how to do this, I get either 'Object doesn't support this method' or a compile error 'Type mismatch'.
As far as I can tell I've declared, and set the objects correctly. And Microsoft Scripting Runtime is referenced.
Any help would be greatly appreciated.
As far as I can tell I've declared, and set the objects correctly. And Microsoft Scripting Runtime is referenced.
Any help would be greatly appreciated.