Forum Discussion
Word 365 Hyphenation at Bottom of Page
- Aug 05, 2025
To set this option in VBA, for the active document, use the following line of code:
ActiveDocument.Compatibility(wdAllowHyphenationAtTrackBottom) = True
Wow, that's embarrassing. I can't thank you enough, Stephan. I also can't believe that didn't come up with all the Googling I did! Everything I found was similar to the other answer that was left for this post.
I guess while I have your ear, so to speak, I'll ask the next silly question: We've setting a number of options in the AutoOpen and AutoNew routines but I'm not seeing where this is available to VBA, nor does it record.
Safe to assume it's not (yet?) part of the DOM?
Again, profound thanks,
Ken
To set this option in VBA, for the active document, use the following line of code:
ActiveDocument.Compatibility(wdAllowHyphenationAtTrackBottom) = True
- KenK1110Aug 05, 2025Copper Contributor
Oy-vey. I saw wdAllowHyphenationAtTrackBottom, wasn't immediately sure how to use it and assumed it was associated with a document in compatibility mode. 🤦 Thank you again, Stefan.
- Stefan_BlomAug 05, 2025MVP
You are welcome. :-)