XRulerOrigin Cell (Ruler & Grid Section)
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

XRulerOrigin Cell (Ruler & Grid Section)

Specifies the zero point on the x-axis ruler for the page.

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

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

Cell name:


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

Section index:


Row index:


Cell index:


© 2016 Microsoft