Table.UpdateAutoFormat Method
Word Developer Reference |
Updates the table with the characteristics of a predefined table format.
Syntax
expression.UpdateAutoFormat
expression Required. A variable that represents a Table object.
Remarks
As an example of how this method functions, if you apply a table format with AutoFormat and then insert rows and columns, the table may no longer match the predefined look. UpdateAutoFormat restores the format.
Example
This example creates a table, applies a predefined format to it, adds a row, and then reapplies the predefined format.
Visual Basic for Applications |
---|
|
This example restores the predefined format to the table that contains the insertion point.
Visual Basic for Applications |
---|
|
See Also