Share via


Worksheet.DisplayPageBreaks Property

Excel Developer Reference

True if page breaks (both automatic and manual) on the specified worksheet are displayed. Read/write Boolean.

Syntax

expression.DisplayPageBreaks

expression   A variable that represents a Worksheet object.

Remarks

You can't set this property if you don't have a printer installed.

Example

This example causes Sheet1 to display page breaks.

Visual Basic for Applications
  Worksheets("Sheet1").DisplayPageBreaks = True

See Also