Options.AutoHyphenate property (Publisher)

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

Syntax

expression.AutoHyphenate

expression A variable that represents an Options object.

Return value

Boolean

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.