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
Subscribe for FREE Excel Items:
E-mail:
No comments:
Post a Comment