The trouble is here:
Set objDoc = objWord.Documents.Open(DocPath)
I open the doc with a simiple link (the user clicks on the link, word opens
with the document).
When trying to close with objword.documents.close the is no
argument for the document name.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.