Consulting

Results 1 to 2 of 2

Thread: How to close the particular excel without saving?

  1. #1
    VBAX Contributor
    Joined
    Nov 2009
    Posts
    114
    Location

    How to close the particular excel without saving?

    How to close the particular excel without saving?

  2. #2
    [VBA]Workbooks("Particular workbook name.xls").Close SaveChanges:=False[/VBA]
    or
    [VBA]ThisWorkbook.Close SaveChanges:=False[/VBA]
    Jimmy
    -------------------------------------------------
    The more details you give, the easier it is to understand your question. Don't save the effort, tell us twice rather than not at all. The amount of info you give strongly influences the quality of answer, and also how fast you get it.

Posting Permissions

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