Private Sub Worksheet_Calculate()
If Range("E10").Value >= 186 Then
Application.EnableEvents = False
Workbooks.Open Filename:="Diva.xls"
Sheets(15).PrintOut
ActiveWorkbook.Close False
Application.EnableEvents = True
End If
If Range("E52").Value >= 186 Then
Application.EnableEvents = False
Workbooks.Open Filename:="Diva.xls"
Sheets(16).PrintOut
ActiveWorkbook.Close False
Application.EnableEvents = True
End If
ElseIf Range("E94").Value >= 186 Then
Application.EnableEvents = False
Workbooks.Open Filename:="Diva.xls"
Sheets(8).PrintOut
ActiveWorkbook.Close False
Application.EnableEvents = True
End If
End Sub