View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
R..VENKATARAMAN R..VENKATARAMAN is offline
external usenet poster
 
Posts: 25
Default wb.Saved + CustomDocumentProperies problem

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

========================
"karnek" wrote in
message ...

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


--
karnek
------------------------------------------------------------------------
karnek's Profile:
http://www.excelforum.com/member.php...o&userid=36570
View this thread: http://www.excelforum.com/showthread...hreadid=564602