How to Convert Automatic Hyphens to Manual Hyphens using Word VBA
Word does automatic hyphenation at the end of line when the AutomaticHyphenation feature is turned on
ActiveDocument.AutoHyphenation = True
For example, in the pic below, the word has hyphenated non-breaking automatically
You can test it by try selecting the Hyphen (which is not there physically)
The following code converts all automatic hyphens to manual ones
ActiveDocument.ConvertAutoHyphens
- Login or register to post comments
- Feed: vbadb feed
- Original article
