Disabling Save changes prompt

J

jas

hi,

im using VB6,

does anyone know how to disable the save changes prompt when the user clicks
close on a word document??

thanx
 
H

Helmut Weber

Hi,
like
Sub autoclose()
ActiveDocument.Save ' as you like
ActiveDocument.Saved = True
' there are cases reported when this is necessary
' in addition to the save command
End Sub
---
Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/
 

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