TableStyle.Condition (Word)

Returns a ConditionalStyle object that represents special style formatting for a portion of a table.

Condition (ConditionCode)

ConditionCode: The area of the table to which to apply the formatting.


Sub TableStylesTest() 
 With ActiveDocument 
 
 'Select the table to which the conditional 
 'formatting will apply 
 .Tables(1).Select 
 
 'Specify the conditional formatting 
 .Styles("Table Grid").Table _ 
 .Condition(wdOddColumnBanding).Shading _ 
 .BackgroundPatternColor = wdColorGray20 
 End With 
End Sub