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

(e-mail address removed) was telling us:
(e-mail address removed) 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
(e-mail address removed)
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top