Bewerken

Delen 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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.