Share via


TextColumns.EvenlySpaced Property

Word Developer Reference

True if text columns are evenly spaced. Read/write Long.

Syntax

expression.EvenlySpaced

expression   A variable that represents a TextColumns object.

Remarks

The EvenlySpaced property can be True, False, or wdUndefined.

If you set the Spacing or Width property of the TextColumns object, the EvenlySpaced property is automatically set to True. Also, setting the EvenlySpaced property may change the settings for the Spacing and Width properties of the TextColumns object.

Example

This example topic sets columns in the active document to be evenly spaced.

Visual Basic for Applications
  Dim colTextColumns

Set colTextColumns = ActiveDocument.PageSetup.TextColumns

If colTextColumns.Count > 1 Then _ colTextColumns.EvenlySpaced = True End If

This example returns the status of the Equal column width option in the Columns dialog box (Format menu).

Visual Basic for Applications
  Dim lngSpaced As Long

lngSpaced = ActiveDocument.PageSetup.TextColumns.EvenlySpaced

See Also