PrintGridlines Property
Applies To
PageSetup object.
Description
True if cell gridlines are printed on the page. Applies only to worksheets. Read/write Boolean.
See Also
DisplayGridlines property.
Example
This example prints cell gridlines when Sheet1 is printed.
Worksheets("Sheet1").PageSetup.PrintGridlines = True