So the code originally worked, however, it copied a few extra things that I didn't want, so I tried to tweak it. Below is the code that previously "worked". Basically, I took the code from another sheet that it worked perfectly on and tried to transform it to work for this scenario (and I don't know quite enough to fully do that properly - as you can tell).
Sub CopyPasteEnrollReqID()
Dim lrow As Long, i As Long, j As Long, lastrow As Long, x As Long, counter As Long
With Worksheets("Requirements")
lrow = .Range("A" & .Rows.Count).End(xlUp).Row
For i = 2 To lrow
For j = 15 To 15
If .Cells(i, j).Value Like "Enrollment Through Delinquency" Then
.Range("A" & i & ":A" & i).Copy Worksheets("Enroll").Range("J" & Rows.Count).End(xlUp).Offset(1, 0)
lastrow = Worksheets("Enroll").Range("J" & Rows.Count).End(xlUp).Row
Worksheets("Enroll").Cells(lastrow, j).Value = .Cells(i, j)
End If
Next j
Next i
Worksheets("Enroll").Columns("A:A").HorizontalAlignmnet = xlCenter
End With
End Sub
I appreciate any help, but I may just re-post in the VBA forum and see if someone can help me from scratch! Thanks again!
Bookmarks