# XGridDensity Cell (Ruler & Grid Section)

Office 2007

Specifies the type of horizontal grid to use.

ValueDescriptionAutomation constant

0

Fixed

visGridFixed

2

Coarse

visGridCoarse

4

Normal (default)

visGridNormal

8

Fine

visGridFine

## Remarks

This cell corresponds to the horizontal Grid spacing option in the Ruler & Grid dialog box (click Ruler & Grid on the Tools menu).

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

 Cell name: XGridDensity

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

 Section index: visSectionObject Row index: visRowRulerGrid Cell index: visXGridDensity