View Single Post
 
Old 05-16-2013, 09:34 AM
rcVBA rcVBA is offline Windows 7 64bit Office 2003
Novice
 
Join Date: May 2013
Posts: 6
rcVBA is on a distinguished road
Default

strMatchesFile is the file that the image names are being stored in. I am trying to use InStr like this:
Code:
myNoDupes = InStr(strMatchOrig, strMatchesFile)
but strMatchesFile is searched as the file path and name, how can I search the contents of strMatchesFile? I can do the Instr at the point where strMatchesFile is open for Append As #hFile
I'm having some trouble getting the content of the file instead of the file path/name
Reply With Quote