Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.