Worksheet.DisplayPageBreaks (Excel)

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

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


ActiveSheet.DisplayPageBreaks = True