Thread
:
does range value exist in another range
View Single Post
#
3
Posted to microsoft.public.excel.programming
merjet
external usenet poster
Posts: 812
does range value exist in another range
Sub Macro1()
Range("C5").FormulaR1C1 = _
"=MATCH(RC[-1], R[-4]C[-2]:R[5]C[-2],0)"
If IsNumeric(Range("C5").Value) Then
MsgBox "Found"
Else
MsgBox "Not found"
End If
End Sub
Hth,
Merjet
Reply With Quote
merjet
View Public Profile
Find all posts by merjet