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
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for