NoLineBreakBefore Property

Microsoft Word Visual Basic

Returns or sets the kinsoku characters before which Microsoft Word will not break a line. Read/write String.

Example

This example sets "!", ")", and "]" as the kinsoku characters before which Microsoft Word will not break a line in the active document.

ActiveDocument.NoLineBreakBefore = "!)]"