There are certain text files in a folder, i.e, file1.txt ; file2.txt; … Also, there is an array of strings which can be stored as studs(i) in VBScript. My objective is to verify if each string (studs(i)) is present in each of the text file (fileN.txt) and write the information to an excel sheet with the strings elements in the rows and filenames(file1, file2, file3,….) in the columns. I need a Vbscript which automates this process. Any help is greatly appreciated
Share
See if this helps
Code
output