+ Reply to Thread
Results 1 to 11 of 11

How to avoid Excel save pop-up

  1. #1
    Registered User
    Join Date
    08-27-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2003
    Posts
    12

    Question How to avoid Excel save pop-up

    During workbook close, how to avoid excel save, don't save pop-up.
    We already fool the excel by telling it, we saved.. But still the pop-up is throwing.
    It is not coming for all excels we have. I have a .xlsm file, only for which it is coming. Sorry that I can't able to share my program.
    Following is my workbook close event in vba.

    Private Sub App_WorkbookBeforeClose(ByVal wb As Excel.Workbook, Cancel As Boolean)
    My code
    wb.saved = True
    End Sub

    I also tried Activeworkbook.Saved = True, Thisworkbook.Saved = True, nothing is working fine..
    Please leave your inputs to solve this.
    Attached Files Attached Files
    Last edited by Rayner; 10-25-2013 at 03:05 AM. Reason: Attached File

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to avoid Excel save pop-up

    Please go through the modules to find My code. Since My Code is a Macro Name which is called in your workbook close event.

    So please share the My Code Macro codes too for fixing the issue.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    08-27-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: How to avoid Excel save pop-up

    I attached the complete close event.

  4. #4
    Registered User
    Join Date
    08-27-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: How to avoid Excel save pop-up

    That code is working fine for many years. Only with the .xlsm file which we have now, the pop-up is coming. I wish to share the excel, but I can't due to some restriction. I know making false to .EnableEvents and .DisplayAlerts will prevent this. But I cannot give that as a workaround,

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to avoid Excel save pop-up

    I believe it is happening when you close the excel application completely without keeping any of the other excel window.

    Am I right?

  6. #6
    Registered User
    Join Date
    08-27-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: How to avoid Excel save pop-up

    Yes it is right

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to avoid Excel save pop-up

    Do you have any class modules?

  8. #8
    Registered User
    Join Date
    08-27-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: How to avoid Excel save pop-up

    Ya we do have lots of class modules

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to avoid Excel save pop-up

    Please wait for couple of hours I called for all members help for fixing your issue…

  10. #10
    Registered User
    Join Date
    08-27-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: How to avoid Excel save pop-up

    Any updates?

  11. #11
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to avoid Excel save pop-up

    I believe it's happening becuase of the Personalised Event Created using the Class Module.

    But the class modules are beyond my knowledge and I already called for all members help here

    http://www.excelforum.com/the-water-...3-onwards.html

    In post # 374 and I hope someone will join in and help you in fixing the issue

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] assign code to avoid the pop up comp-ability check mode save option
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-31-2013, 09:27 AM
  2. How to disable the save dialog box and avoid workbook to close
    By gozeimas in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-30-2013, 07:26 AM
  3. How to avoid an error, if you press cancel on a SAVE FILE-Macro
    By Silas313 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-01-2010, 04:56 AM
  4. avoid save file
    By eugz in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-30-2009, 12:20 PM
  5. [SOLVED] Excel - highlight new data (by date ?) and avoid 'Save As'
    By Tom in forum Excel General
    Replies: 0
    Last Post: 10-17-2005, 04:05 PM

Tags for this Thread

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