View.ShowHyphens property (Word)

True if optional hyphens are displayed. An optional hyphen indicates where to break a word when it falls at the end of a line. Read/write Boolean.

Syntax

expression. ShowHyphens

expression An expression that returns a 'View' object.

Example

This example inserts an optional hyphen before the selection and then displays optional hyphens in the active window.

Selection.InsertBefore Chr(31) 
ActiveDocument.ActiveWindow.View.ShowHyphens = True

See also

View Object

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.