Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 01-26-2025, 02:29 PM
macropod's Avatar
macropod macropod is offline Word line-breaking algorithm Windows 10 Word line-breaking algorithm Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,469
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Well, yes, you could do that quite simply with a macro like:
Code:
Sub Demo()
ActiveDocument.Range.ParagraphFormat.Alignment = wdAlignParagraphJustifyLow
End Sub
or you could apply it to selected paragraphs with a macro like:
Code:
Sub Demo()
Selection.Range.ParagraphFormat.Alignment = wdAlignParagraphJustifyHi
End Sub
As I said, though, I haven't tried the JustifyHi/Low/Med options, so I can't tell you what they do.

For PC macro installation & usage instructions, see: Installing Macros
For Mac macro installation & usage instructions, see: https://wordmvp.com/Mac/InstallMacro.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word line-breaking algorithm Word 2016: Stop merged cells from breaking across pages FiveFingers Word Tables 3 06-26-2024 08:20 PM
Word line-breaking algorithm word erases line bottom in tight line spacing when new line is added ozzzy Word 2 01-21-2021 06:41 AM
Controlling line breaking when using Shrink Text on Overflow catflap Publisher 0 03-08-2018 02:08 AM
Word line-breaking algorithm Sorting algorithm for two dimensional array NobodysPerfect Word VBA 1 04-07-2014 03:58 PM
Formula for algorithm santiago_dl Excel 0 01-11-2012 11:09 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:30 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft