Examples:
The following VBA example enables automatic hyphenation for the selected text object, specifying a minimum word length of 6 characters for hyphenation.
Sub Test()
With ActiveShape.Text.HyphenationSettings
.UseAutomaticHyphenation = True
.MinWordLength = 6
End With
End Sub