M
Mike
Hi. I am having a problem I am sure there is a very
simple answer to. In the following code, I receive
a "Type Mismatch" Error when the IF statement is
excecuted. Can anyone tell me what I am doing wrong?
Thanks,
Mike.
Sub temp3()
Dim IPRg As Range
Set IPRg = Columns(4)
Dim temp
For Each Cell In IPRg
If IPRg.Cells.Value = "Bob" Then
IPRg.Cells.Select
End If
Next
End Sub
simple answer to. In the following code, I receive
a "Type Mismatch" Error when the IF statement is
excecuted. Can anyone tell me what I am doing wrong?
Thanks,
Mike.
Sub temp3()
Dim IPRg As Range
Set IPRg = Columns(4)
Dim temp
For Each Cell In IPRg
If IPRg.Cells.Value = "Bob" Then
IPRg.Cells.Select
End If
Next
End Sub