السلام عليكم
اولا يجب عدم تكرار المواضيع
=======================
بالنسبة للطلب يجب فتح الملف ARCHIVE
' عدد الاعمدة
Private Const Cont As Integer = 7
Sub kh_Find()
Dim sh As Worksheet
Dim Ary()
Dim Lr As Integer, R As Integer, RR As Integer
Dim Txt As String
Lr = Cells(Rows.Count, "E").End(xlUp).Row
If Lr > 9 Then Range("E10:K" & Lr).ClearContents
On Error GoTo 2
Set sh = Workbooks("ARCHIVE").Sheets("Feuil1")
Txt = [H7]
With sh
Lr = .Cells(.Rows.Count, "A").End(xlUp).Row
ReDim Ary(1 To Lr, 1 To Cont)
For R = 2 To Lr
If CStr(.Cells(R, "G")) = Txt Then
RR = RR + 1
Ary(RR, 1) = RR
Ary(RR, 2) = .Cells(R, "B").Value
Ary(RR, 3) = .Cells(R, "C").Value & " " & .Cells(R, "D").Value
Ary(RR, 4) = .Cells(R, "H").Value
Ary(RR, 5) = .Cells(R, "K").Value
Ary(RR, 6) = .Cells(R, "J").Value
Ary(RR, 7) = .Cells(R, "I").Value
End If
Next
End With
If RR Then Range("E10").Resize(RR, Cont).Value = Ary
2:
Set sh = Nothing
Erase Ary
End Sub
شاهد المرفق 2003
ALMO3IN.rar