wdSaveChanges doesn't work

B

bill_campbell

I am using ActiveDocument.Close SaveChanges:=wdSaveChanges

But I still get a prompt asking me to save changes. Any help would be
nice.
 
J

Jean-Guy Marcil

[email protected] was telling us:
[email protected] 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?

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
[email protected]
Word MVP site: http://www.word.mvps.org
 
B

bill_campbell

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.
 
Top