Document.NoLineBreakBefore property (Word)
Returns or sets the kinsoku characters before which Microsoft Word will not break a line. Read/write String.
expression A variable that represents a Document object.
This example sets "!", ")", and "]" as the kinsoku characters before which Microsoft Word will not break a line in the active document.
ActiveDocument.NoLineBreakBefore = "!)]"
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.