Hi Peeps,
How would I go about amending the below to paste all values below the cell D21 in the Beacon Data sheet.
Cheers,
rob
How would I go about amending the below to paste all values below the cell D21 in the Beacon Data sheet.
Cheers,
rob
PHP:
Sub CandidateList()
With Worksheets("Results").Range("TotalNPV")
Set c = .Find(Worksheets("Beacon Data").Range("D21").Value, LookIn:=xlValues)
If Not c Is Nothing Then
firstAddress = c.Address
Do
c.EntireRow.Copy Destination:=Worksheets("Candidate List").Range("a" & Worksheets("Candidate List").Range("a64000").End(xlUp).Row + 1)
Set c = .FindNext(c)
Loop While Not c Is Nothing And c.Address <> firstAddress
End If
End With
Sheets("Candidate List").Select
End Sub