And the code I provided earlier used the same double test as yours did. It is looking for a style where the paragraph also contains the word 'Table'. Those empty paragraphs fail on the second test.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|