DisplayRightRuler Property

Microsoft Word Visual Basic

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