+ Reply to Thread
Results 1 to 2 of 2

wb.Saved + CustomDocumentProperies problem

  1. #1
    Registered User
    Join Date
    07-20-2006
    Posts
    4

    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

  2. #2
    R..VENKATARAMAN
    Guest

    Re: 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" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1