Name of the WdWordDialog when closing

F

Frenchy

Hi all,

I have to handle a specific event "DocumentAfterClose", to do this i have to
use the "DocumentBeforeClose". Display the Dialog Box saying "Do you want to
save the document?"

I did similar to handle DocAfterSave with Word.WdWordDialog.wdDialogFileSaveAs

But here i can't find the constant for the dialog box displayed when closing
a document that hasn't been saved...no documentation on those constants :(
 
D

David Thielen

And if you do this, make sure you display your message in the same language
that Word is running in...
 
F

Frenchy

If I do what?

I don't want to create my own MessageBox, I'd like to use the existing of
Word.

So that I won't have to translate it in 3454 langages...
 

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