ResetAllPageBreaks Method

Applies To

Worksheet object.

Description

Resets all page breaks on the specified worksheet.

Syntax

expression.ResetAllPageBreaks( )

expression Required. An expression that returns a Worksheet object.

Example

This example resets all page breaks on worksheet one.

Worksheets(1).ResetAllPageBreaks