DisplayRightRuler Property Example
This example sets the active window to print layout view and displays the vertical ruler on the right side.
With ActiveWindow .View = wdPrintView .DisplayRightRuler = True End With