yes Leith. It worked. But I am facing a very weird problem. Looks like I might be missing something.
Inside my folder I have various files with name, Model1_dataspecs, Model2_dataspecs, Model_dataspecs. The code you gave be does the job of sorting through the files with dataspecs. But the values from each of the files are all messes up.
I have:
the string variable a is returning wrong values. The A1 cell of Model1_dataspecs and Model2_dataspecs should have been empty and Model_dataspecs should have "name". But they are not returning what they are suppose to although they choose the correct FileName.
Do you know what might be the problem?
Bookmarks