Hi,

Please can someone help me?

I have a part of coding below:

    If Not Intersect(Target, Range("M:O")) Is Nothing Then
If Not Target.Value = "" And Asc(Left(Target.Value, 1)) <= 127 Then
            bCorrectPassword = False
            bWrongInput = True
            Target.Value = vbNullString
        End If
    End If
everything works fine until I press the 'delete' button and thats when the error appears. It highlights this line:

If Not Target.Value = "" And Asc(Left(Target.Value, 1)) <= 127 Then
I have 2 different PC's at work at on 1 PC the error doesn't trigger and on the other 1 it does.

I was just wondering if anyone had any ideas to what might be causing this error.

Kind Regards

Dan