DisplayGridLines Property

Microsoft Word Visual Basic

DisplayGridLines Property

       

True if Microsoft Word displays the document grid. This property is the equivalent of the Gridlines command on the View menu. Read/write Boolean.

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