Hi everyone,
problem:
even though the value of one of the two cells is "NA" (and a excel recognizes this) the following dostuff code is executed anyway. Each condition for itself works fine.
If Range("V8").Value <> "NA" Or Range("W8").Value <> "NA" Then
dostuff
End If
Does anyone see my fault?
Thanks in advance.
problem:
even though the value of one of the two cells is "NA" (and a excel recognizes this) the following dostuff code is executed anyway. Each condition for itself works fine.
If Range("V8").Value <> "NA" Or Range("W8").Value <> "NA" Then
dostuff
End If
Does anyone see my fault?
Thanks in advance.