Options.DisplayGridLines property (Word)
True if Microsoft Word displays the document grid. This property is the equivalent of the Gridlines command on the View menu. Read/write Boolean.
Syntax
expression. DisplayGridLines
expression A variable that represents a 'Options' object.
Remarks
This property affects only the document grid. For table gridlines, use the TableGridlines property.
Example
This example switches between displaying and hiding the document grid in the active window.
Options.DisplayGridLines = Not Options.DisplayGridLines
See also
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for