Share via


TextColumns.LineBetween Property

Word Developer Reference

True if vertical lines appear between all the columns in the TextColumns collection. Read/write Long.

Syntax

expression.LineBetween

expression   An expression that returns a TextColumns collection object.

Remarks

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

Example

This example cycles through each section in the active document and displays a message box if the text columns in the section are separated by vertical lines.

Visual Basic for Applications
  i = 1
For each s in ActiveDocument.Sections
    If s.PageSetup.TextColumns.LineBetween = True Then
        MsgBox "The columns in section " & i & " contain lines."
    End If
    i = i + 1
Next s

See Also