ShowHyphens Property 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