excel vba exit application without saving code example Example: excel vba close without saving ActiveWorkbook.Close savechanges:=False