Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #15  
Old 02-19-2024, 10:18 PM
Guessed's Avatar
Guessed Guessed is offline Last line of paragraph centered Windows 10 Last line of paragraph centered Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I wouldn't go so far as to say it is an elegant solution but it is certainly more elegant than the dodgy soft return + shim method.

Two other things factors I will throw in to complete my contribution to this topic in case other people are interested.

A. The 'centering' of method 1 above is not EXACTLY centered since the width of the tab is included in the centering of that last line. In effect, the offset of the text from 'true centre' is half the size of the tab - likely only a true pedant will notice this offset. The size of that tab space depends on how close the last line length is to the next default tab stop. You can reduce the size of the default tab stops in your Word document to minimize this relatively minor offset. Note however that if your paragraph happens to ALSO have a tab stop assigned on the ruler then this alignment kludge method may be badly affected.

B. There are more than the 4 possible paragraph alignments (shown on ribbon) in my English version of VBA which is why I provided the VBA code to specify the alignment. It is entirely possible that other language versions of Word have a paragraph alignment which actually deal with your preferred Hebrew alignment. If you explore the VBA intellisense on your language-enabled machine, you may discover a paragraph alignment which does this without the kludge of requiring a tab at the end of the paragraph to see the effect you want.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Centered line before and after a word Miguel Word 6 02-05-2023 09:02 AM
Last line of paragraph centered Hard Paragraph after Every Line jcolleenb Word 2 06-08-2020 03:50 PM
syntax for inserting blank line before inserting table and after a line or paragraph SamDsouza Word VBA 8 08-04-2019 11:10 PM
Last line of paragraph centered line separator for paragraph creieru Word 1 06-07-2012 11:11 AM
Last line of paragraph centered How can I make this line look like a paragraph? steeleye Excel 1 07-15-2009 02:13 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:00 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