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]
|