Question

I've been searching for an answer to this but can find anything on it.

In Word, when the user closes a document they are prompted with the "save", Cancel Save", "Cancel" dialog.

Is there a way to tell which one of those buttons the user clicked on?

I know the even DocumentBeforeSave is sent out, But I can't find a way to tell which button the user actually clicked on.

I need to know in particular if the user clicked the "Cancel Save"

Note: using c#; 2007 dll's

No correct solution

OTHER TIPS

I am pretty sure that cancel save and cancel are the same thing. When a user saves a document, you will see a DocumentSave.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top