DisplayRightRuler Property

Microsoft Word Visual Basic

DisplayRightRuler Property

       

True if the vertical ruler appears on the right side of the document window in print layout view. Read/write Boolean.

expression.DisplayRightRuler

expression   Required. An expression that returns a Window object.

Remarks

For more information on using Word with right-to-left languages, see Word features for right-to-left languages.

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