Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Close workbook

  1. #1
    Board Regular
    Join Date
    Apr 2002
    Location
    Puerto Vallarta, Mexico
    Posts
    869
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    This must be a simple one. I am trying to do a Close function under macro control. The problem is that it always comes back and ask if I want to save first. I dont want to save, just close and I dont want the user to have to answer that question. I want the workbook to just go away. Is there any way to set a setting or something for this? Maybe an instruction that says close without saving? The reason I dont want to save is because I want to always start with my master workbook, all data is put elsewhere. HELP PLEASE

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    Cincinnati, Ohio, USA
    Posts
    6,824
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hello

    ActiveWorkbook.Close SaveChanges:=False

    Tom

  3. #3
    Board Regular
    Join Date
    Apr 2002
    Location
    Puerto Vallarta, Mexico
    Posts
    869
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    ****, tom, you make me feel really dumb. I have fought that one for a while, but then, I dont profess to be a programmer. Thanks a million

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •