The wildcard Find code really only works with what should be one set of parentheses/brackets per paragraph, finding at any that has one parenthesis/bracket but not its counterpart.
The macro is more flexible and works on a paragraph-by-paragraph basis, comparing the number of ( with the number of ) and comparing the number of [ with the number of ] in the same paragraph. It reports & exits if it finds one where the numbers aren't the same, leaving the problem paragraph selected.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|