You are on page 1of 1

Sub Macro5()

'
' Macro5 Macro
'
' Keyboard Shortcut: Ctrl+Shift+L
'
Cells.Find(What:="11223344", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Rows("1:1").EntireRow.Select
ActiveCell.Activate
ActiveWindow.SelectedSheets.HPageBreaks.Add Before:=ActiveCell
ActiveCell.Offset(2, 0).Range("A1").Select
ActiveCell.Select
End Sub

You might also like