This documentation is archived and is not being maintained.

# YRulerDensity Cell (Ruler & Grid Section)

Office 2007

Specifies the vertical subdivisions on the ruler for the page.

ValueDescriptionAutomation constant

0

Fixed

visRulerFixed

8 (&H8)

Coarse

visRulerCoarse

16 (&H10)

Normal (Default)

visRulerNormal

32 (&H20)

Fine

visRulerFine

## Remarks

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

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

 Cell name: YRulerDensity

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

 Section index: visSectionObject Row index: visRowRulerGrid Cell index: visYRulerDensity

Show: