Page Break Every Cell - VB Code Workaround

AlInVegas

New Member
Joined
Dec 31, 2007
Messages
19
I have a spreadsheet that comes up with the page break every cell error when I run macros that touch any of the page layout or print parameters. My understanding is that this an error that sometimes occurs when Page Scaling is used.

Has someone come up with a short sweet workaround code that resets the breaks and allows the 1 page wide by however many long to work?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Not sure if it's related, but thought it might help.... My page layout changes to include a page break for every cell any time I print to PDF from Excel. If I close the file and exit the instance of Excel, then reopen Excel and the file in question, the page breaks go back to what I originally set.
 
Upvote 0

Forum statistics

Threads
1,224,547
Messages
6,179,436
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top