asyamonique
Well-known Member
- Joined
- Jan 29, 2008
- Messages
- 1,280
- Office Version
- 2013
- Platform
- Windows
Good Day,
Is it possible to filter multiple entries if one of the word similar on a cell?
Sample: Column F has datas all the way down every cell has different multiple words under common a word which will be match with CB1 cell.
The code given below filtering only match values I need to add additional function on that given code.
Thanks in advance.
Is it possible to filter multiple entries if one of the word similar on a cell?
Sample: Column F has datas all the way down every cell has different multiple words under common a word which will be match with CB1 cell.
The code given below filtering only match values I need to add additional function on that given code.
Thanks in advance.
VBA Code:
Dim LR As Long, i As Long
LR = Range("F" & Rows.Count).End(xlUp).Row
For i = 1 To LR
With Range("F" & i)
If .Value = Range("CB1").Value Then
.Offset(, -3).Resize(, 4).Copy
Range("CE" & Rows.Count).End(xlUp).Offset(1).PasteSpecial Paste:=xlPasteValues
End If
End With
Next i