Options.GridDistanceVertical property (Word)
Returns or sets the amount of vertical space between the invisible gridlines that Word uses when you draw, move, and resize AutoShapes or East Asian characters in new documents. Read/write Single.
expression A variable that represents an Options object.
This example sets the horizontal and vertical distance between gridlines and then enables the Snap objects to grid feature for a new document.
With Options .GridDistanceHorizontal = InchesToPoints(0.2) .GridDistanceVertical = InchesToPoints(0.2) .SnapToGrid = True End With Documents.Add
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.