What command are you using to close the documents?
[DocumentObject].Close wdDoNotSaveChanges
should close a document without prompting for it to be saved.
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
> I am trying to create a VBA routine to open .doc documents
> read only. In testing on my PC everything works ok except
[quoted text clipped - 18 lines]
> Is there a way to compare all properties between two
> documents so i can see what the difference is ?
cdxp - 28 Dec 2003 04:50 GMT
Thank you this worked. I had assumed do not save was a
requirement of read only.
For others looking this is the actual string in VB
doc.close(Word.WdSaveOptions.wdDoNotSaveChanges)
>-----Original Message-----
>What command are you using to close the documents?
[quoted text clipped - 33 lines]
>
>.