wb.Saved + CustomDocumentProperies problem

K

karnek

Hello,

I implemented the "workbookBeforeSave" event where I want to replace
the saving process. When user don't wants to save workbook I call
"wb.saved" and "application.quit". But here I have problem because when
I store new CustomDocumentProperies before the saving then
"application.quit" ask me again than If I want save the workbook. And
that is wrong!

Could you help me with this issue, please?

Karol Nekanovic
 
R

R..VENKATARAMAN

did you try to put a line at the begining
application.displayalerts=false
and at the end
application.displayalerts=true.

the last line is necessary

========================
 

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