本示例以英寸为单位显示左页边距的设置。

MsgBox PointsToInches(ActiveDocument.PageSetup.LeftMargin) _
    & " inches"