Close merged Word doc without message box confirmation

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.
 
V

Van T. Dinh

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.
 
Top