So what have you tried? There are plenty of code examples here for how to process table content, as well as for how to create Styles.
In any event, one wouldn't simply create such a set of Styles (some of which are already defined in Word) conditionally for any given document - one would simply create all the required Styles once in the relevant document template.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|