An alternative approach would be to add the following code to ThisWorkbook:

Option Explicit

Private Sub Workbook_Deactivate()

If ActiveWorkbook.Name <> ThisWorkbook.Name Then ActiveWorkbook.Close

End Sub