+ Reply to Thread
Results 1 to 3 of 3

Close ALL Already Opened Files without SAVE

  1. #1
    Registered User
    Join Date
    06-27-2011
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    55

    Question Close ALL Already Opened Files without SAVE

    Dear Expert,

    Have Code Tag below.
    How to modify this and make it close all files without SAVE.
    If possible, can expert advise how to make it close all files with SAVE too.
    Now, A window pops up asking me to SAVE or NOT.
    The file whose runs this marco is "Not" Close.

    Please Login or Register  to view this content.
    Thanks so much
    Last edited by eltonlaw; 05-17-2012 at 03:10 AM.

  2. #2
    Forum Guru
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Close ALL Already Opened Files without SAVE

    hi eltonlaw,

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,164

    Re: Close ALL Already Opened Files without SAVE

    If you put (false) at the end of
    Please Login or Register  to view this content.
    , it will NOT save. So the line should be
    Please Login or Register  to view this content.
    If you change the False to True, it will save.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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