Window.DisplayRightRuler property (Word)

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


expression. DisplayRightRuler

expression An expression that returns a 'Window' object.


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


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

See also

Window Object