Y

YouLibs

Remove Touch Overlay

Excel Page Break Every 35 Rows with VBA - 2457

Duration: 02:34Views: 3.5KLikes: 151Date Created: Dec, 2021

Channel: MrExcel.com

Category: Howto & Style

Tags: mrexcelexcel page breaksrunning excel macro in the immediate windowexcel macrosbill jelenmicrosoft excelexcel page breakexcelvba exceladding excel page breaks with vbamr excelexcel add many page breaksexcel vbaexcel add page breaks every n rows

Description: Tina C asks if there is a better way to add a page break every 35 rows. Way back in episode 360, I showed a few methods. But today, one line of VBA in the Immediate Window seems much easier. You have to edit this line in three places: For i = 37 To 1446 Step 35 : ActiveWindow.SelectedSheets.HPageBreaks.Add Before:=Cells(i, 1) : Next My courses on the Retrieve Platform are at: mrexcel.retrieve.com/store/#

Swipe Gestures On Overlay