Share via


Worksheet.DisplayPageBreaks Property (Excel)

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.

Worksheets("Sheet1").DisplayPageBreaks = True

See Also

Concepts

Worksheet Object Members

Worksheet Object