G
Greyman
In Excel 2000, I want to automate closing a file without saving changes.
This code does not give any error messages, but closes and does in fact save
the changes:
Sub DoNotSaveChanges()
'
' DoNotSaveChanges Macro
' Macro recorded 5/07/2008 by Grahame McEnery
'
'
ActiveWorkbook.Close (SaveChanges = False)
End Sub
This code does not give any error messages, but closes and does in fact save
the changes:
Sub DoNotSaveChanges()
'
' DoNotSaveChanges Macro
' Macro recorded 5/07/2008 by Grahame McEnery
'
'
ActiveWorkbook.Close (SaveChanges = False)
End Sub