Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default wb.Saved + CustomDocumentProperies problem


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

  #2   Report Post  
Posted to microsoft.public.excel.programming
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with 2007 saved as 2003 abe1952 Excel Discussion (Misc queries) 2 October 27th 09 10:16 PM
problem opening saved files gnjmh New Users to Excel 7 September 7th 07 03:24 AM
Catch _AfterSave Event & Saved Property Problem ... Joe HM Excel Programming 7 March 17th 05 11:30 AM
Odd problem - data not saved Ted Excel Discussion (Misc queries) 0 February 18th 05 09:30 PM
Weird Problem: Excel SaveAs-- document not saved Matias[_2_] Excel Programming 1 December 6th 04 06:05 PM


All times are GMT +1. The time now is 03:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"