السلام عليكم
الشكر واصل للاخ حسام عيسى ....حفظه الله
الكود موجود في موديل الورقة Search
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Target.Address = Range("C2").Address Then Exit Sub
''''''''''''''''''
Dim Lr As Long, i As Long, R As Long
Dim txt
Range("A6:F25").ClearContents
txt = Trim(Target)
If Len(txt) < 3 Then Exit Sub
With Sheets("Data")
Lr = .Cells(.Rows.Count, "A").End(xlUp).Row
For i = Lr To 2 Step -1
If txt = CStr(.Cells(i, "A")) Or txt = CStr(.Cells(i, "B")) Or InStr(CStr(.Cells(i, "C")), txt) Then
Cells(R + 6, "A").Resize(1, 3).Value = .Cells(i, "A").Resize(1, 3).Value
Cells(R + 6, "D").Resize(1, 2).Value = .Cells(i, "E").Resize(1, 2).Value
Cells(R + 6, "F").Value = .Cells(i, "H").Value
R = R + 1
If R = 20 Then Exit For
End If
Next
End With
End Sub
المرفق 2010
Search++.rar
تحياتي