# XGridSpacing Cell (Ruler & Grid Section)

Office 2010

Specifies the distance between horizontal lines in a fixed grid (XGridDensity = 0).

## Remarks

This cell corresponds to the horizontal Minimum spacing option in the Ruler & Grid dialog box (on the View tab, click the Show arrow).

To get a reference to the XGridSpacing cell by name from another formula, or from a program using the CellsU property, use:

 Cell name: XGridSpacing

To get a reference to the XGridSpacing cell by index from a program, use the CellsSRC property with the following arguments:

 Section index: visSectionObject Row index: visRowRulerGrid Cell index: visXGridSpacing
Show: