After:
Application.ScreenUpdating = True
insert:
ThisDocument.Close SaveChanges:=True
Note: using SaveChanges:=True ensures any edits you've made to the document and/or its code will be saved.
PS: I've merged your threads into one, since they all concern the one project.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|