G
Gun_Maddie
I am trying to compare two numbers in a spreadsheet, if they don't
equal then have a message box appear. Here is what I wrote. Any help
would be appreciated.
Sub ValidateSums()
Sheets("T&E Form").Select
If Range("P35") <> Range("P56") Then
MsgBox ("Invalid Amounts", vbRetryCancel, "Please correct
amounts")
End If
End Sub
Thanks
Mike
equal then have a message box appear. Here is what I wrote. Any help
would be appreciated.
Sub ValidateSums()
Sheets("T&E Form").Select
If Range("P35") <> Range("P56") Then
MsgBox ("Invalid Amounts", vbRetryCancel, "Please correct
amounts")
End If
End Sub
Thanks
Mike