Not sure what you are doing, but this may start.
Option Explicit
Sub Macro1()
Dim SearchText As String, _
FoundParm As Variant, _
FoundRow As Long, _
LastColumn As Long, _
PartsArray As Variant
With Sheets("End Result")
SearchText = .Range("C3").Value
With Sheets("Before")
With .Cells
Set FoundParm = .Find(What:=SearchText, _
After:=ActiveCell, _
LookIn:=xlFormulas, _
LookAt:=xlWhole, _
SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=False, _
SearchFormat:=False)
End With '.cells
If Not FoundParm Is Nothing Then
FoundRow = FoundParm.Row
LastColumn = .Cells(FoundRow, Columns.Count).End(xlToLeft).Column
PartsArray = .Range(.Cells(FoundRow, 1), .Cells(FoundRow, LastColumn)).Value
PartsArray = WorksheetFunction.Transpose(PartsArray)
End If
End With 'before sheet
.Range("C7").Resize(Range("c7").CurrentRegion.Rows.Count).Clear
.Range("c7").Resize(rowsize:=UBound(PartsArray)).Value = PartsArray
End With 'end result sheet
End Sub
Bookmarks