Better justify a text or measure the space between justified words

fmg 0 Reputation points
2023-07-11T08:02:25.8633333+00:00

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.

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft 365 and Office | Word | For business | Windows
{count} votes

3 answers

Sort by: Most helpful
  1. John Korchok 6,126 Reputation points Volunteer Moderator
    2023-07-11T16:22:05.6866667+00:00

    Program features can only be over-ridden when the app is programmed to enable that. Microsoft has not done that with text spacing. The answer in your link reflects the reality of justification spacing in Word, even if that doesn't meet your expectations. Please follow Stefan's advice and send feedback to Microsoft.

    2 people found this answer helpful.

  2. Stefan Blom 3,281 Reputation points MVP Volunteer Moderator
    2023-07-11T09:40:02.0866667+00:00

    The compatibility option that refers to WordPerfect justification has been removed in recent versions of Word, because it should no longer be needed. However, you are not alone in noticing that there are still some limitations to the full justify option in Word. One thing you can do is to send feedback to Microsoft using the feedback facility in Word.


  3. Trichromic Updates 5 Reputation points
    2023-08-18T11:11:58.9833333+00:00

    This is a pretty basic function and without it my comms look like they have been written by a 12 year old.

    Microsoft have loaded so much functionality into Dynamics (which is good, I guess), but have missed some crucial tools and sacrificed simplicity.

    Can I have my money back?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.