I found this great article (http://www.xl-central.com/list-the-files-in-a-folder-and-subfolders.html) and it is exactly what I needed.
I’ve tweaked it to reflect my circumstances, my issue is, I’m trying to pull certain cell Information rather than all the information about the file itself.
For example, instead of having information like when the file was last accessed being displayed, I would like to get the value of cell A8 in all the excel files the search finds. I’ve tried replacing “objFile.DateLastAccessed” with “Range(“A8”).value” but nothing appears. I’m also not getting any errors.
Hopefully this makes sense, I haven’t drastically changed the code in the link, I’ve essentially changed the headings created and the top file location. It still works, the new headings appear and the file information I still want is being displayed, It’s just the pesky cell information that isn’t being produced.
I have a hunch I’m missing a variable/ dim command but I’m not sure.
Thanks again and I hope I hear from someone soon.
Best regards,
Blamo
I’ve tweaked it to reflect my circumstances, my issue is, I’m trying to pull certain cell Information rather than all the information about the file itself.
For example, instead of having information like when the file was last accessed being displayed, I would like to get the value of cell A8 in all the excel files the search finds. I’ve tried replacing “objFile.DateLastAccessed” with “Range(“A8”).value” but nothing appears. I’m also not getting any errors.
Hopefully this makes sense, I haven’t drastically changed the code in the link, I’ve essentially changed the headings created and the top file location. It still works, the new headings appear and the file information I still want is being displayed, It’s just the pesky cell information that isn’t being produced.
I have a hunch I’m missing a variable/ dim command but I’m not sure.
Thanks again and I hope I hear from someone soon.
Best regards,
Blamo