06-05-2012, 01:11 PM
It is breaking on a temporary Word file like "~$cument1.doc".
It's "parent", document1.doc is the first file from which text is retrieved.
So, I think QM is having Word keep this file open during the loop. Once the code breaks, the file is deleted and any search, hidden files included, finds no such file.
I think I should be able to work around it with a test for "~$" in the filename.
It's "parent", document1.doc is the first file from which text is retrieved.
So, I think QM is having Word keep this file open during the loop. Once the code breaks, the file is deleted and any search, hidden files included, finds no such file.
I think I should be able to work around it with a test for "~$" in the filename.
