Close Dialog boxes

M

matt

Hey,

I remember seeing a post in the past, but I can't seem to find it now. I am
programatically closing a word doc and it dosen't close the whole thing. It
leaves the word pane open still because a dialog box opens that says
something like, "There is alot of info in the Clipboard. Would you like to
keep it available when Word closes?".

Isn't there a way to say something like WdDialog boxes = false. Not that
exactly like that, but just to get the point. I don't want to be promted for
the ClipBoard thing.

Thanks....
 
T

Tony Jollans

You are probably thinking of Application.DisplayAlerts, but it won't
suppress that message. The easiest thing to do is just to place a small
amount of text on the clipboard just before closing; this will o verwrite
whatever was there and the message won't, then, be triggered.
 

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