XRulerDensity cell (Ruler & Grid section)
XRulerDensity cell (Ruler & Grid section)
See also http://msdn.microsoft.com/en-us/library/aa160065(v=office.10) Section Rows
Specifies the horizontal subdivisions on the ruler for the page.
| Value | Description | Automation constant |
| 0 | Fixed | visRulerFixed |
| 8 (&H8) | Coarse | visRulerCoarse |
| 16 (&H10) | Normal (Default) | visRulerNormal |
| 32 (&H20) | Fine | visRulerFine |
Remarks
This cell corresponds to the horizontal Subdivisions option in the Ruler & Grid dialog box (click Ruler & Grid on the Tools menu).
To reference the XRulerDensity cell by name from another formula, or from a program using the http://msdn.microsoft.com/en-us/library/aa141912(v=office.10) Cells property, use:
| Cell name: | XRulerDensity |
To reference the XRulerDensity cell by index from a program, use the http://msdn.microsoft.com/en-us/library/aa141916(v=office.10) CellsSRC property with the following arguments:
| Section index: | visSectionObject |
| Row index: | visRowRulerGrid |
| Cell index: | visXRulerDensity |