TextColumns.LineBetween property (Word)

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.

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

TextColumns Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.