C carl Nov 11, 2003 #1 i am trying to add some code that will close an open workbook without saving the changes to it. thank you for you help.
i am trying to add some code that will close an open workbook without saving the changes to it. thank you for you help.
T Ture Magnusson Nov 11, 2003 #2 Carl, This line of VBA code closes the active workbook without saving it. ActiveWorkbook.Close SaveChanges:=False
Carl, This line of VBA code closes the active workbook without saving it. ActiveWorkbook.Close SaveChanges:=False