Workbook_BeforeClose


Private Sub Workbook_BeforeClose(Cancel as Boolean)
If Me.Saved = False Then Me.Save
End Sub

Comments

Popular posts from this blog

50 Excel VBA Oral Interview Questions