Applying Styles retrospectively via macro to documents that haven't used them is problematic, since the code must compare all of the attributes of each & every paragraph against each & every new paragraph Style's definition. For Character Styles, you need to compare each & every character against each & every new Character Style - but then also not apply the character Style to paragraphs whose paragraph Style has the same character attributes. This can be quite time-consuming for a macro to do in just one document, let alone across multiple documents.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|