Hi,
I have the following code that prompts a message box if a calculated cell is more or less than 5% variance. This works perfectly on the sheet I have it set to, but I would like the calculation to take place on another worksheet ("Sheet 2"), but the message box to prompt on "Sheet 1".
Also, I have several calculated cells on the same sheet, "H17", "H19" and "H20", can I repeat the same line of code below each one to check each calculation or is there an easier way?
Thanks!
Cd254
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("H17") > 0.5 Or Range("h17") < -0.5 Then
MsgBox "WARNING - Calculation has exceeded limit"
End If
End Sub
Bookmarks