Valuable members of this board,
I use Access VBA automation for printing a few thousands of Word documents.
You find the database attached + a separate txt-file with the procedure (module – procedure FindReplace)): I’ve put ‘=========== lines before & after the code lines in question.
This worked great on my pc untill I got a ‘blue screen’ several times… Having no time to figure out why, I “quickly”‘ turned to a collegue’s pc, installed the necessary driver, moved the Access database over there, repaired & compacted, checked the VBA references.
Problem: the procedure runs without an error but the Word print command doesn’t execute while the Word instance (invisible) doesn’t close, so remains open.
What may have gone wrong?