asyamonique
Well-known Member
- Joined
- Jan 29, 2008
- Messages
- 1,286
- Office Version
- 2013
- Platform
- Windows
Code:
Dim LR As Long, i As Long
LR = Range("AM" & Rows.Count).End(xlUp).Row
For i = 1 To LR
With Range("AM" & i)
If .Value = Range("A1").Value Then
.Offset(, 1).Resize(, 26).Copy
Range("D" & Rows.Count).End(xlUp).Offset(1).PasteSpecial Paste:=xlPasteValues
End If
End With
Next i
Good Day,
How can we improve the above code to increase the range targets like in same time i will get the A1:A10 values instead of getting only one cell value?
Many Thanks