Hi,
I am struggling to compile some code that is technically beyond my capabilities, so would really appreciate some help.
I have added comments to the code below that hopefully explain what I am attempting to do.
Sub Test() Dim amt As Worksheet, ath As Worksheet, aat As Worksheet Dim r As Long, s As Long Dim x As Range, y As Range, z As Range Dim j As String Set amt = Worksheets("Admin MGR History") Set ath = Worksheets("Admin TFR History") Set aat = Worksheets("Admin Action TFR'S") r = aat.Cells(Rows.Count, 3).End(xlUp).Row 'irrelevant code removed j = aat.Range("E5") 'Now I need to capture the row number that j is on in amt, column A, rows 2 : endxlup 'This becomes the destination row Set x = aat.Range("K35:K" & r) For Each y In x 'Copy y.offset(0,13) and paste as special values to the first blank cell in the range of > 'either BZ, CC, CF, CI or CL on the destination row 'Then copy y.offset(0,17) and paste as special values to the first blank cell in the range of > 'either CA, CD, CG, CJ or CM on the destination row 'Find y on the destination row (which will be within the range of columns E:P) and > 'replace it with y.offset(0, -8) Next 'irrelevant code removed End Sub
Thanks