title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
PageSetup.PrintGridlines property (Excel) |
vbaxl10.chm473093 |
|
|
9a92c157-046a-00b5-3813-a5c924ac42b9 |
05/03/2019 |
medium |
True if cell gridlines are printed on the page. Applies only to worksheets. Read/write Boolean.
expression.PrintGridlines
expression A variable that represents a PageSetup object.
This example prints cell gridlines when Sheet1 is printed.
Worksheets("Sheet1").PageSetup.PrintGridlines = True
[!includeSupport and feedback]