Document.AutoHyphenation Property

Word Developer Reference

True if automatic hyphenation is turned on for the specified document. Read/write Boolean.

Syntax

expression.AutoHyphenation

expression   A variable that represents a Document object.

Example

This example turns on automatic hyphenation, with a hyphenation zone of 0.25 inch. Words in all capital letters aren't hyphenated.

Visual Basic for Applications
  With ActiveDocument
    .HyphenationZone = InchesToPoints(0.25)
    .HyphenateCaps = False
    .AutoHyphenation = True
End With

See Also