Why am I asked to save for each merged document?

S

Support_help

I use Terminal Services to connect to a computer to run an application and
merge information into Word. I merge several documents at a time and have
the macro set to auto print and auto close. Unfortunately, Word will not
auto close or print because I have to keep clicking on 'No' to 'Do you want
to save changes to formletters1?' for each document merged. The document is
set to read only and it does not happen on my individual PC.
 
D

Doug Robbins - Word MVP

You need to include in the macro the command

ActiveDocument.Close wdDoNotSaveChanges

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

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

Top