StyleAreaWidth Property

Microsoft Word Visual Basic

expression.StyleAreaWidth

expression    Required. An expression that returns a Window object.

Remarks

When the StyleAreaWidth property is greater than 0 (zero), style names are displayed to the left of the text. The style area isn't visible in print layout or Web layout view.

Example

This example switches the active window to normal view and sets the width of the style area to 1 inch.

With ActiveDocument.ActiveWindow
    .View.Type = wdNormalView
    .StyleAreaWidth = InchesToPoints(1)
End With