PrintGridlines Property

Applies To

PageSetup Object.

Description

True if cell gridlines are printed on the page. Read-write.

Remarks

This property applies only to worksheets.

See Also

DisplayGridlines Property.

Example

This example prints cell gridlines when Sheet1 is printed.


Worksheets("Sheet1").PageSetup.PrintGridlines = True