bigb
Mechanical
- Sep 17, 2002
- 12
Hi
I am having problem with this statement. Can you help me rewrite it?
If (IsNA(WorksheetFunction.VLookup(r, Range4, 2, False))) Then
Range("X5"
.Offset(counter, 0).Value = "0A"
Else
Range("X5"
.Offset(counter, 0).Value = "0B"
End If
Note: Range4 is a lookup in a range in another sheet.
IsNA is giving problem says Sub or Function not defined.
I need to check if this vlookup returns a value else it should lookup some thing else.
Can you tell me what to do?
Thanks!!!!
BigB
I am having problem with this statement. Can you help me rewrite it?
If (IsNA(WorksheetFunction.VLookup(r, Range4, 2, False))) Then
Range("X5"
Else
Range("X5"
End If
Note: Range4 is a lookup in a range in another sheet.
IsNA is giving problem says Sub or Function not defined.
I need to check if this vlookup returns a value else it should lookup some thing else.
Can you tell me what to do?
Thanks!!!!
BigB