VBA - closing without saving changes

From: ajliaks (ajliaks.152wok_at_excelforum-nospam.com)
Date: 04/21/04


Date: Wed, 21 Apr 2004 15:01:34 -0500

Hi,

This is very simply!

I am using the instruction

ActiveWorkbook.Close

to close file.

I need the macro cloosing the active workbook without asking for saving
changes. I need closing without saving changes!

How can I do?

Thanks,

---
Message posted from http://www.ExcelForum.com/


Relevant Pages

  • Re: MsgBox Help
    ... If msg = vbYes Then ... ' closes the active workbook without saving any changes ... gti_jobert's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=30634 ...
    (microsoft.public.excel.programming)
  • Re: creation/modification of LDT
    ... >Is there any instruction in x86 systems that will force the saving of ... ie is it possible to the save the state without calling schedule? ... I don't know if there's any one instruction to do it. ...
    (comp.os.linux.development.system)
  • Re: The sixty second pmc howto
    ... saving the results to /tmp/sample.out. ... Dumb question, but what does "instructions" really mean? ... The number of instructions, the time spent executing them,? ... might well refer to what happens to an instruction when it is believed to have successfully executed. ...
    (freebsd-current)
  • Macro: Exit active workbook without save?
    ... How to create a maco button that exit the active workbook without saving? ...
    (microsoft.public.excel.worksheet.functions)
  • macro to save the file as per the path selected
    ... I need macro to save my active workbook, but before saving the activeworkbook ... it should ask me where and to which folderit need to be saved. ...
    (microsoft.public.excel.programming)