ResetAllPageBreaks Method

Microsoft Excel Visual Basic

ResetAllPageBreaks Method

       

Resets all page breaks on the specified worksheet.

expression.ResetAllPageBreaks()

expression   Required. An expression that returns a Worksheet object.

Example

This example resets all page breaks on worksheet one.

Worksheets(1).ResetAllPageBreaks