+ Reply to Thread
Results 1 to 2 of 2

Command to bypass the asking to save option

  1. #1
    Registered User
    Join Date
    07-13-2005
    Posts
    1

    Command to bypass the asking to save option

    I am good on this stuff, just stuck on the bold portion..
    Open a file on the network (works fine)
    Find a tab in the file and copy it (works fine)
    Open a new workbook and past the tab (works fine)



    Close the original file on network workbook and move to the next…..Here is where the issue lies, when we try and close the file that we just copied from it asks the user if we want to save, well we don’t want the user to have to answer no, we just want the code to say no and continue to loop on forward..

  2. #2
    Tom Ogilvy
    Guest

    Re: Command to bypass the asking to save option

    Activeworkbook.Close SaveChanges:=False

    --
    Regards,
    Tom Ogilvy

    "yazman08" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I am good on this stuff, just stuck on the bold portion..
    > Open a file on the network (works fine)
    > Find a tab in the file and copy it (works fine)
    > Open a new workbook and past the tab (works fine)
    >
    >
    >
    > *Close the original file on network workbook and move to the
    > next...Here is where the issue lies, when we try and close the file
    > that we just copied from it asks the user if we want to save, well we
    > don't want the user to have to answer no, we just want the code to say
    > no and continue to loop on forward.. *
    >
    >
    > --
    > yazman08
    > ------------------------------------------------------------------------
    > yazman08's Profile:

    http://www.excelforum.com/member.php...o&userid=25187
    > View this thread: http://www.excelforum.com/showthread...hreadid=386749
    >




+ 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