R
Rocky McKinley
Hi when I run the TestIt sub below I get an error "Object Required". What
am I doing wrong?
Function FindIt(Ranger As Range) As String
Dim C As Range
Set C = Ranger.Find("BALER", LookIn:=xlValues)
If Not C Is Nothing Then FindIt = C.Address
End Function
Sub TestIt()
FindIt (Range("a1:a4"))
End Sub
am I doing wrong?
Function FindIt(Ranger As Range) As String
Dim C As Range
Set C = Ranger.Find("BALER", LookIn:=xlValues)
If Not C Is Nothing Then FindIt = C.Address
End Function
Sub TestIt()
FindIt (Range("a1:a4"))
End Sub