Did you actually select the folder to process? The code works fine for me as posted - I simply copied it from post #4 in to a new Excel workbook, added the Word reference and a search term, then ran the macro. The expected output was produced.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|