I wanted to edit my last post but I couldn't find it. The find function seems to work much better for me now, but I'm having trouble incorporating it into a loop. Any help is always appreicated:
Sub Macro()
Dim Arow As Long, Brow As Long
Dim C As Integer
Dim Answer As String
C = 1
Answer = Sheet1.Cells(C, 48).Value
On Error Resume Next
Sheets("Sheet2").Select
Columns("D:D").Select
Arow = Sheet2.Columns(4).Find(What:=Answer, After:=ActiveCell, LookIn:=xlValues, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Row
Sheets("Sheet1").Select
Columns("AV:AV").Select
Brow = Sheet1.Cells.Find(What:=Answer, After:=ActiveCell, LookIn:=xlValues, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Row
Sheets("Sheet2").Select
Range(Cells(Arow, 1), Cells(Arow, 12)).Copy
Sheets("Sheet1").Select
Cells(Brow, 60).PasteSpecial
End Sub
I'm trying to Count C for the number of rows that are in my range.
Sorry for the confusion.
Bookmarks