Sub x()
Dim i As Long, rFind As Range, sFind As String, rApp As Range, n As Long, r
Application.ScreenUpdating = False
sFind = "Applicant"
With Sheet1.Range("A1", Sheet1.Range("A" & Rows.Count).End(xlUp))
Set rFind = .Cells(.Rows.Count, 1)
For i = 1 To WorksheetFunction.CountIf(.Cells, sFind)
Set rFind = .Find(What:=sFind, After:=rFind, LookIn:=xlFormulas, _
LookAt:=xlWhole, SearchOrder:=xlByRows, _
SearchDirection:=xlNext, MatchCase:=False, SearchFormat:=False)
If Not rFind Is Nothing Then
Set rApp = rFind.CurrentRegion
n = Sheet2.Cells(Rows.Count, 1).End(xlUp).Row + 1
With Sheet2.Cells(n, 1)
.Value = rFind.Offset(, 1)
.Offset(, 1).Value = rFind.Offset(1, 1)
.Offset(, 2).Value = rFind.Offset(2, 1)
.Offset(, 3).Value = rFind.Offset(3, 1)
.Offset(, 4).Value = rFind.Offset(4, 1)
.Offset(, 5).Value = rFind.Offset(5, 1)
.Offset(, 6).Value = rFind.Offset(6, 1)
.Offset(, 7).Value = rFind.Offset(7, 1)
.Offset(, 8).Value = rFind.Offset(8, 1)
r = Application.Match("Grant request*", rApp.Columns(1), 0)
If IsNumeric(r) Then .Offset(, 9).Value = rApp(r, 2)
r = Application.Match("Loan request", rApp.Columns(1), 0)
If IsNumeric(r) Then .Offset(, 10).Value = rApp(r, 2)
r = Application.Match("Status", rApp.Columns(1), 0)
If IsNumeric(r) Then .Offset(, 11).Value = rApp(r, 2)
r = Application.Match("Description", rApp.Columns(1), 0)
If IsNumeric(r) Then .Offset(, 12).Value = rApp(r, 2)
r = Application.Match("Executive Summary", rApp.Columns(1), 0)
If IsNumeric(r) Then .Offset(, 13).Value = rApp(r, 2)
End With
End If
Next i
End With
Application.ScreenUpdating = True
End Sub
Bookmarks