Close merged Word doc without message box confirmation

  • Thread starter Thread starter dom
  • Start date Start date
D

dom

I used Access to control and merge word document for automation. Thereafter,
I want to close the merged document without save in access coding. It always
show me message box to confirm "save" or "not". How am I choice such option
in access side.
 
Check Word VB(A) Help on the Close Method as applied to the (Word) Document
object. You can use the option wdDoNotSaveChanges (= 0) to close the doc.
without prompting.
 

Ask a Question

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.

Ask a Question

Back
Top