All of a sudden I’m getting a type mismatch error on some code that has been running fine for months. Any ideas what can be wrong?
MyInput = Application.InputBox(Prompt:=”Enter the Maximum Compensation Limit: No $$ Signs, No Commas “, _
Title:=”Compensation Limit”, Type:=1)
On Error GoTo 0
a = Range(“I2000”).End(xlUp).Row
For b = a To 3 Step -1
If Range(“I” & b) > MyInput Then
‘data will be limited to User Input
Range(“I” & b).Value = MyInput
End If
Next b
On Error Resume Next