I was able to hack together a solution:
Sub Copy_Schedule_Line()
Range("S5:AC5").Select
Selection.Copy
Dim FindString As String
Dim Rng As Range
FindString = Range("R5").Value
If Trim(FindString) <> "" Then
With Range("A:B")
Set Rng = .Find(What:=FindString, _
After:=.Cells(.Cells.Count), _
LookIn:=xlValues, _
LookAt:=xlWhole, _
SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=False)
If Not Rng Is Nothing Then
Application.Goto Rng, True
Else
MsgBox "Nothing found"
End If
End With
End If
If IsEmpty(ActiveCell.Offset(1)) Then
ActiveCell.Offset(1).Select
Else
ActiveCell.End(xlDown).Offset(1).Select
End If
ActiveSheet.Paste
Range("R5:AC5").Select
Selection.Delete Shift:=xlUp
Range("R5").Select
Application.CutCopyMode = False
Range("A1").Select
End Sub
Bookmarks