السلام عليكم
اذاً استبدل الكود السابق بهذا
Sub Abu_Ahmed()
Dim cl As Range
Set Mysh = Sheets("2")
For Each cl In Range("G2:G" & [G10000].End(xlUp).Row)
If cl = Mysh.[G2] Then
Mysh.Range("A2:F7").Copy
Range("A" & cl.Row).PasteSpecial xlPasteValues
Exit For
End If
Next
Application.CutCopyMode = False
Set Mysh = Nothing
End Sub
ولكن ضع زر الأمر في الورقة 1