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