Document.GridSpaceBetweenVerticalLines Property

Word Developer Reference

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

Syntax

expression.GridSpaceBetweenVerticalLines

expression   A variable that represents a Document object.

Example

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

Visual Basic for Applications
  ActiveDocument.GridSpaceBetweenVerticalLines = 2

See Also