Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub Macro3()
'
Dim MyFind As String
Dim MCL As String 'Column Letter
MyFind = "Jeff"
MCL = "D"
Columns(MCL & ":" & MCL).Select
Selection.Find(What:=MyFind, After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ARow = ActiveCell.Row
With Rows(ARow)
.Copy
.Insert Shift:=xlDown
End With
Cells.FindNext(After:=Rows(ARow)).Activate
ARow = ActiveCell.Row
Columns(MCL & ":" & MCL).Select
Do Until Range(MCL & (ARow + 1)) = ""
Selection.Find(What:=MyFind, After:=Range(MCL & ARow), LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ARow = ActiveCell.Row
With Rows(ARow)
.Copy
.Insert Shift:=xlDown
End With
Cells.FindNext(After:=Rows(ARow)).Activate
ARow = ActiveCell.Row
Loop
End Sub