LayoutMode Property Example

This example sets the layout mode for the active document so that Microsoft Word automatically aligns typed text to a grid.

ActiveDocument.PageSetup.LayoutMode = wdLayoutModeGenko