Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #31  
Old 09-26-2011, 04:11 AM
macropod's Avatar
macropod macropod is offline automatic text formatting(justify) Windows 7 64bit automatic text formatting(justify) Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,525
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


I ran the macro, coded as described in my previous posts and it processed your document correctly!

The reason the updated text doesn't get justified is because your document's Normal Style isn't justified!!!

As for using Word with other languages, whether the Style names are the same, I don't know - they may be or they may be the local language's equivalent of 'Normal'. You could work around that and make the process independent of the language settings by using:
.Style = wdStyleNormal
or:
.Style = -1
instead of:
.Style = "Normal"
You will still have to deal with differences in the separators for different Windows regional settings, though (see post #9).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic Formatting for whole row Bacchanal Promotions Excel 2 03-19-2011 05:12 AM
automatic text formatting(justify) Office 2007 Mail Merge Issue - automatic formatting and revisions balloons sharpie21 Office 1 10-10-2010 03:56 AM
Automatic insertion of blank pages or alternate text Diopippo Word 0 07-06-2010 12:13 AM
automatic text formatting(justify) problem with automatic formatting on quotation marks Bobosmite Word 3 05-27-2010 07:06 PM
Templates: automatic text generation from Rich Text content control Chickenmunga Word 0 10-01-2008 11:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:17 AM.


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