You don't need your version of 'StrSec'. The code I posted will already find multiple secondary expressions for each primary string. It also looks to me like your revision would simply overwrite the StrSec that's already in use.
Have you actually tried the code as I posted it? As I said, it works fine in my testing - with multiple primary and secondary strings.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|