Hi,
I use this code and it works great...
ActiveDocument.PrintOut
Application.DisplayAlerts = False
ActiveDocument.Application.Quit
Application.DisplayAlerts = True
But when I open my word attachment from Outlook, I still keep getting the
"do you want to save prompt"....
Would anyone know why it works fine when you open a normal file but when you
open an attachment from outlook the code doesn't work?
Thx :)
Doug Robbins - 16 Jun 2005 15:00 GMT
Use
With ActiveDocument
.PrintOut
.Close wdDoNotSaveChanges
End With

Signature
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
> Hi,
>
[quoted text clipped - 13 lines]
>
> Thx :)