pedie
Well-known Member
- Joined
- Apr 28, 2010
- Messages
- 3,875
Hi, below is the currentcode. It does not find if cells is hidden. How do i code to find it in hidden how.
I want to find exact match.
Thanks.
I want to find exact match.
Thanks.
Code:
[/FONT]
[FONT=Courier New]Dim Found As Range, LR As Long, x As String
x = range("B1").value[/FONT]
[FONT=Courier New]With activesheet[/FONT]
[FONT=Courier New] LR = .Range("E" & Rows.Count).End(xlUp).Row
Set Found = .Range("E6:E" & LR).Find(what:=x, LookIn:=xlValues, _
LookAt:=xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False)
If Not Found Is Nothing Then[/FONT]
[FONT=Courier New] msgbox "kkkk"
End If
End With
End Sub