I am fairly new to coding in VBA and was wondering how to add an error formula to the following string of code:
For I = a To lastRow
If Range("I" & I).Value / Range("H" & I).Value > 1 Then
Range("P" & I).Value = "Review"
Range("Q" & I).Value = "Review"
Range("R" & I).Value = "Charity Adjustment > Total Charges"
End If
I need something that will set errors = 0 in the IF statement
Thanks
For I = a To lastRow
If Range("I" & I).Value / Range("H" & I).Value > 1 Then
Range("P" & I).Value = "Review"
Range("Q" & I).Value = "Review"
Range("R" & I).Value = "Charity Adjustment > Total Charges"
End If
I need something that will set errors = 0 in the IF statement
Thanks