ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA Add Page breaks around tables (https://www.excelbanter.com/excel-programming/315136-vba-add-page-breaks-around-tables.html)

John Michl[_2_]

VBA Add Page breaks around tables
 
Any one have some code that will manually add page breaks but not break a
table across two pages? I've created some code that creates about two dozen
pivot tables in a vertical format. I'd like to use VBA to do the same as I
would if I looked at the sheet in PageBreak Preview mode and slide the auto
breaks up to the next break.

I don't want to add a break after every table since some are small.

Thanks - John




All times are GMT +1. The time now is 07:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com