[dba-Tech] Inhibit Save prompt when closing Word document

Stuart McLachlan stuart at lexacorp.com.pg
Tue Aug 21 21:54:03 CDT 2007


Sure will.  It sets the document's "Saved" flag to True, so Word 
thinks that the document hasn't been edited since it was last saved.

No edits = no save prompt.


On 21 Aug 2007 at 22:03, Susan Harkins wrote:

> Will this close without changing? That's what I need -- no prompt, no save. 
> 
> Susan H.  
> 
> 
> Private Sub Document_Close()
> ActiveDocument.Saved = True
> End Sub
> 
> _______________________________________________
> dba-Tech mailing list
> dba-Tech at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-tech
> Website: http://www.databaseadvisors.com





More information about the dba-Tech mailing list