+ Reply to Thread
Results 1 to 3 of 3

How to disable save message when I click the cross to close the file

  1. #1
    hon123456
    Guest

    How to disable save message when I click the cross to close the file

    Dear all,
    When I close a excel file by click the cross on the left
    top corner, excel will prompt me to save the file or not. I want the
    excel not to save the file and not to prompt me to save. How can I
    disable the save message when I press the cross to close the excel
    file?

    Thanks.


  2. #2
    NickHK
    Guest

    Re: How to disable save message when I click the cross to close the file

    Peter,
    There is the Workbook_BeforeClose event:
    ThisWorkbook.Saved=True

    NickHK

    "hon123456" <[email protected]> wrote in message
    news:[email protected]...
    > Dear all,
    > When I close a excel file by click the cross on the left
    > top corner, excel will prompt me to save the file or not. I want the
    > excel not to save the file and not to prompt me to save. How can I
    > disable the save message when I press the cross to close the excel
    > file?
    >
    > Thanks.
    >




  3. #3
    hon123456
    Guest

    Re: How to disable save message when I click the cross to close the file

    Thanks NickHK

    NickHK =E5=AF=AB=E9=81=93=EF=BC=9A

    > Peter,
    > There is the Workbook_BeforeClose event:
    > ThisWorkbook.Saved=3DTrue
    >
    > NickHK
    >
    > "hon123456" <[email protected]> wrote in message
    > news:[email protected]...
    > > Dear all,
    > > When I close a excel file by click the cross on the left
    > > top corner, excel will prompt me to save the file or not. I want the
    > > excel not to save the file and not to prompt me to save. How can I
    > > disable the save message when I press the cross to close the excel
    > > file?
    > >
    > > Thanks.
    > >



+ 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