M
Mekinnik
How could I modify this code to insert a page break instead of a row and do
it at the top of every 19th row instead of row 5?
Sheets("Sheet1").Select
Range("A1").Select 'Set range to start point
Do While ActiveCell.Value <> ""
ActiveCell.Offset(5, 0).Select
Selection.EntireRow.Insert
ActiveCell.Offset(1, 0).Select
it at the top of every 19th row instead of row 5?
Sheets("Sheet1").Select
Range("A1").Select 'Set range to start point
Do While ActiveCell.Value <> ""
ActiveCell.Offset(5, 0).Select
Selection.EntireRow.Insert
ActiveCell.Offset(1, 0).Select