I am trying to loop through all the files in a folder and get the path of one that contains a specific part of text. The text is not always in the same position and the folder is a network folder. What would be the fastest way to do this in a network folder that contains hundreds of files with more than 30Mb each?
The Dir()
solution did not work as it says "Bad file name or number" (Error 52). I am referencing the network path as \\thisisthefolder\anotherfolder\