View Single Post
 
Old 09-26-2011, 04:11 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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