DisplayRulers Property Example
This example toggles the ruler display for the active window.
ActiveDocument.ActiveWindow.DisplayRulers = _
Not ActiveDocument.ActiveWindow.DisplayRulers
This example switches the window to print layout view and displays the horizontal and vertical rulers.
With ActiveDocument.ActiveWindow
.View.Type = wdPrintView
.DisplayVerticalRuler = True
.DisplayRulers = True
End With