TableObject.PreserveFormatting property (Excel)

True if any formatting common to the first five rows of data are applied to new rows of data in the query table. Unused cells aren't formatted. The property is False if the last AutoFormat applied to the query table is applied to new rows of data. The default value is True. Read/write Boolean.

Syntax

expression.PreserveFormatting

expression A variable that represents a TableObject object.

Property value

BOOL

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.