Compartilhar via


Document.NoLineBreakBefore Property

Word Developer Reference

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.

Visual Basic for Applications
  ActiveDocument.NoLineBreakBefore = "!)]"

See Also