Share via


AutoHyphenate Property [Publisher 2003 VBA Language Reference]

True (default) for Microsoft Publisher to automatically hyphenate text in text frames. Read/write Boolean.

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

Applies to | Options Object