Worksheet.ResetAllPageBreaks method (Excel)

Resets all page breaks on the specified worksheet.

Syntax

expression. ResetAllPageBreaks

expression A variable that represents a Worksheet object.

Example

This example resets all page breaks on worksheet one.

Worksheets(1).ResetAllPageBreaks

See also

Worksheet Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.