Document.GridSpaceBetweenHorizontalLines property (Word)
Returns or sets the interval at which Microsoft Word displays horizontal character gridlines in print layout view. Read/write Long.
expression A variable that represents a Document object.
This example sets Microsoft Word to display every fifth horizontal character gridline.
ActiveDocument.GridSpaceBetweenHorizontalLines = 5
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.