bill_campbell@bcbsmt.com was telling us:
bill_campbell@bcbsmt.com nous racontait que :
> I am using ActiveDocument.Close SaveChanges:=wdSaveChanges
>
> But I still get a prompt asking me to save changes. Any help would be
> nice.
You probably have code elsehwere that interfers by doing stuff after the
ActiveDocument.Close SaveChanges:=wdSaveChanges
line.
Any other code after? Any other event macros? Is it asking to save the
document or the template?

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org
bill_campbell@bcbsmt.com - 07 Dec 2004 02:51 GMT
I can't beleive I didn't think of that first. The file I open, then
close, was built from a template with a bunch of code inside. I open
the file, then save it as text. I'll look for a way to stop that macro
from running.
> You probably have code elsehwere that interfers by doing stuff after the
> ActiveDocument.Close SaveChanges:=wdSaveChanges
[quoted text clipped - 9 lines]
> jmarcilREMOVE@CAPSsympatico.caTHISTOO
> Word MVP site: http://www.word.mvps.org