AutoHyphenate Property

Microsoft Publisher Visual Basic

expression.AutoHyphenate

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example turns on automatic hyphenation for Publisher and sets the amount of space from the right margin to use when hyphenating words to one inch (72 points).

Sub SetHyphenationZone()
    With Options
        .AutoHyphenate = True
        .HyphenationZone = 72
    End With
End Sub