Share via


Worksheet.ResetAllPageBreaks Method

Excel Developer Reference

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.

Visual Basic for Applications
  Worksheets(1).ResetAllPageBreaks

See Also