ByPass Save As

K

Kenny G

Word 2002 and Access 2002

Currently I have an Access DB and I print a five page letter using Word
instead of using Reports. I use VBA to populate the word document bookmarks.


Situation: I just want the print the document.
objWord.PrintOut

There is a Document1 from a template created as a result. Is there a way
to prevent this from happening?

I don't want to save anything else I just want to close the Word document.

Any help would be appreciated.
 
D

Doug Robbins

Use objWord.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
 
K

Kenny G

Doug,

Many thanks - than did it.

Doug Robbins said:
Use objWord.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