Wednesday 12 November 2014

Close workbook without saving


Sub Button1_Click()

 

ActiveWorkbook.Saved = True

 

ActiveWorkbook.Close

 

Application.DisplayAlerts = False

End Sub

No comments:

Post a Comment