Your 'Heading 1' problem isn't related to the code I posted, since 'Heading 1' is a standard Word Style - unless you're using templates designed for a language other than English.
Your Styles replacement approach would work, though the code I posted would do the lot in one pass.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|