Killing the current file you need to change it's status to read only.
Sub Killed()Application.DisplayAlerts=FalseThisWorkbook.ChangeFileAccess xlReadOnlyKill ThisWorkbook.FullNameThisWorkbook.Close FalseEnd Sub
Post a Comment
No comments:
Post a Comment