VBA – Page Break Preview Mode On or Off

Associated Files Download Links

Page Break Preview Mode

To place Sheet1 in Page Break Preview View from code:

Restore Normal View Mode

To place Sheet1 in in Normal View from code:

VBA Coding Made Easy

Stop searching for VBA code online. Learn more about AutoMacro – A VBA Code Builder that allows beginners to code procedures from scratch with minimal coding knowledge and with many time-saving features for all users!

alt text

Learn More!

<<Return to VBA Examples

Did you find this VBA tutorial useful? Then share it with your friends and colleagues:

You may also like some of this related content...

Hide Excel There may occasionally arise a need to hide all of excel, a good
ActiveWindow.Zoom You can use VBA to change the Zoom of a worksheet. Here's code to
Fit Selection In a Worksheet you can use View->Zoom->Fit Selection to automatically adjust the Zoom
As cool as it looks watching your VBA macro manipulate the screen, you can help
Display Fullscreen You can launch Excel to display fullscreen using VBA by using this line
Automate Excel
Left Menu Icon