Document.GridSpaceBetweenVerticalLines 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 vertical character gridlines in print layout view. Read/write Long.

expression .GridSpaceBetweenVerticalLines

expression A variable that represents a Document object.

This example sets Microsoft Word to display every other vertical character gridline.

ActiveDocument.GridSpaceBetweenVerticalLines = 2
Show: