TableStyle.Condition Method
Word Developer Reference |
Returns a ConditionalStyle object that represents special style formatting for a portion of a table.
Syntax
expression.Condition(ConditionCode)
expression Required. A variable that represents a TableStyle object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
ConditionCode | Required | WdConditionCode | The are of the table to which to apply the formatting. |
Example
This example selects the first table in the active document and adds a 20 percent shading to odd-numbered columns.
Visual Basic for Applications |
---|
|
See Also