Determine when Word document opens successfully from Excel VBA
Originally, I was starting up the Word application, processing all
the Word documents, then quitting the Word application. When I
changed this to start the Word app, process one document, quit the
Word app, then repeat, it worked.
Also, I used Sleep() vice Application.Waittime.
Alan
|