Name

querytable.PreserveFormatting[= setting]

Synopsis

True preserves the cell formatting of the query table when data is refreshed. False does not preserve formatting. Default is False.

If PreserveFormatting is True and a refresh imports new rows of data, formatting common to the first five rows of the query table is automatically applied to the new rows.

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.