Here's the solution. Replace Table45 and Table134 with any two tables, and AN, K, AC, and AQ with the appropriate cells.
Sub CopyLoop()
'Assumes That Table1 Contains Headers In Row 1
'Declare Variables
Dim lngRowContact As Long, lngRowMaster As Long, lngLoopContact As Long, lngLoopMaster As Long
'Set Variable To Count Number Of Rows In Table1
lngRowContact = Range("Table45").Rows.Count + 1
lngRowMaster = Range("Table134").Rows.Count + 1
'Loop Through Table, Comparing Value In K to Value In AN
'And if they are identical, Copy AQ:AS from the row AN was in to AC:AE In the row K was in
For lngLoopContact = 2 To lngRowContact
For lngLoopMaster = 2 To lngRowMaster
If Range("AN" & lngLoopContact).Value = Range("K" & lngLoopMaster).Value Then _
Range("AQ" & lngLoopContact & ":AS" & lngLoopContact).Copy Range("AC" & lngLoopMaster)
Next lngLoopMaster
Next lngLoopContact
End Sub
Bookmarks