+ Reply to Thread
Results 1 to 3 of 3

How do I close a workbook witout saving changes

  1. #1
    Registered User
    Join Date
    05-24-2010
    Location
    lONDON
    MS-Off Ver
    Excel 2007
    Posts
    7

    How do I close a workbook witout saving changes

    HI,

    I am running a macro that is opening and merging a number of spreadsheets, merging data etc. when I then go to close the unwanted files I get a message, "would you like to saves the cahnges made... "

    Is there a way to close the files automatically without saving?

    Thanks

  2. #2
    Registered User
    Join Date
    06-21-2010
    Location
    Gothenburg
    MS-Off Ver
    Excel 2003
    Posts
    50

    Re: How do I close a workbook witout saving changes

    Quote Originally Posted by plunkettyplunk View Post
    HI,

    I am running a macro that is opening and merging a number of spreadsheets, merging data etc. when I then go to close the unwanted files I get a message, "would you like to saves the cahnges made... "

    Is there a way to close the files automatically without saving?

    Thanks
    Application.DisplayAlerts = False

    should probably work

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: How do I close a workbook witout saving changes

    Something like
    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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