Collapse the table of content
Expand the table of content
Expand Minimize
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

PageTopMargin Cell (Print Properties Section)

Specifies the margin at the top of the printer page.

This value represents physical units and is unaffected by scale or drawing units. For example, if this cell has a value of 0.25 in., this margin is 0.25 inch even if page units are feet. If units are not explicitly stated, this value defaults to page units.

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

Cell name:


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

Section index:


Row index:


Cell index:


© 2016 Microsoft