Presentation.GridDistance Property (PowerPoint)
Sets or returns a Single that represents the distance between gridlines. Read/write.
Syntax
expression .GridDistance
expression A variable that represents a Presentation object.
Return Value
Single
Example
This example displays the gridlines, and then specifies the distance between gridlines and enables the snap to grid setting.
Sub SetGridLines()
Application.DisplayGridLines = msoTrue
With ActivePresentation
.GridDistance = 18
.SnapToGrid = msoTrue
End With
End Sub