I have the current code calculating a single cell’s value then calling a module if it’s value exceeds another value.
How can I make it check multiple ranges of cells eg B5:E5, B8:M8 and call the module if any of the cells in the range exceed the value.
Private Sub Worksheet_Calculate()
If Range("B5") > 4 Then
Application.EnableEvents = False
Application.Run "Mail_small_Text_Outlook"
Application.EnableEvents = True
End If
End Sub
Is this what you are trying?
or something like this?