This documentation is archived and is not being maintained.

YGridDensity cell (Ruler & Grid section)

YGridDensity cell (Ruler & Grid section)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         https://msdn.microsoft.com/en-us/library/aa160065(v=office.10) Section         Rows

Specifies the type of vertical grid to use.

Value

Description

Automation constant

0

Fixed

visGridFixed

2

Coarse

visGridCoarse

4

Normal (default)

visGridNormal

8

Fine

visGridFine

Remarks

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

To reference the YGridDensity cell by name from another formula, or from a program using the https://msdn.microsoft.com/en-us/library/aa141912(v=office.10) Cells property, use:

Cell name:

YGridDensity

To reference the YGridDensity cell by index from a program, use the https://msdn.microsoft.com/en-us/library/aa141916(v=office.10) CellsSRC property with the following arguments:

Section index:

visSectionObject

Row index:

visRowRulerGrid

Cell index:

visYGridDensity

Show: