Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 754 Bytes

Excel.PageSetup.PrintGridlines.md

File metadata and controls

37 lines (22 loc) · 754 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
PageSetup.PrintGridlines property (Excel)
vbaxl10.chm473093
vbaxl10.chm473093
Excel.PageSetup.PrintGridlines
9a92c157-046a-00b5-3813-a5c924ac42b9
05/03/2019
medium

PageSetup.PrintGridlines property (Excel)

True if cell gridlines are printed on the page. Applies only to worksheets. Read/write Boolean.

Syntax

expression.PrintGridlines

expression A variable that represents a PageSetup object.

Example

This example prints cell gridlines when Sheet1 is printed.

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

[!includeSupport and feedback]