+ Reply to Thread
Results 1 to 4 of 4

code:Close without saving

  1. #1
    Forum Contributor
    Join Date
    11-07-2005
    Posts
    280

    code:Close without saving

    Hi everybody,

    I have the following code for closing the current workbook without saving changes >>

    I want it to be developed to close all active workbooks

    Please Login or Register  to view this content.
    Thank you,

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Love Candle,

    Copy this code into a VBA module. You can call the macro anytime, and anywhere you need in your code.

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  3. #3
    Forum Contributor
    Join Date
    11-07-2005
    Posts
    280
    Thank you so much for this perfect code

    But, can you develop it more to close excel program completely not only the active workbooks windows only,

  4. #4
    Forum Contributor
    Join Date
    11-07-2005
    Posts
    280
    Thank you soooooooo much for this perfect 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