SnapToGrid Property
Collapse the table of content
Expand the table of content

Options.SnapToGrid Property (Word)

Office 2013 and later

Contribute to this content

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

True if AutoShapes or East Asian characters are automatically aligned with an invisible grid when they are drawn, moved, or resized. Read/write Boolean.

expression .SnapToGrid

expression A variable that represents an Options collection.

You can temporarily override this setting by pressing ALT while drawing, moving, or resizing an AutoShape.

This example sets Word so that AutoShapes are automatically aligned with the invisible grid in a new document.

Options.SnapToGrid = True 

This example returns the status of the Snap to grid option in the Snap to Grid dialog box.

Temp = Options.SnapToGrid
© 2016 Microsoft