Hello,
Please, the problem is well known: too much space between words in a justified paragraph on lines where the following word is not divisible/divided.
"Conventional" solutions:
The first two solutions are insufficient, the last too laborious for long texts. But, despite my fruitless searches, I can't bring myself to accept that Word can't justify text better. The existence of WordPerfect mode proves that Word is capable of using other algorithms to justify text.
Isn't there a way (direct or indirect) to measure the apparent spaces between words in text justified in Word? It would be "enough" to be able to measure the width of words (or characters - but I don't know if/how this can be used in VBA) to deduce the spaces between words on a line. With this measurement, a loop could easily alleviate the problem of "ugly" lines by condensing the letter spacing or at least underlining these lines. I'm not a great enough connoisseur, but with all the APIs, VBA, JS-Office, Python... is it really impossible?
A question like this (How to measure spaces between justified words in Word by VBA?) was not answered to expectations.
Thank you in advance for any constructive replies, and have a nice day.