Document.GridSpaceBetweenHorizontalLines Property (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns or sets the interval at which Microsoft Word displays horizontal character gridlines in print layout view. Read/write Long.

expression .GridSpaceBetweenHorizontalLines

expression A variable that represents a Document object.

This example sets Microsoft Word to display every fifth horizontal character gridline.

ActiveDocument.GridSpaceBetweenHorizontalLines = 5
Show: