_QueryTable.PreserveColumnInfo Property
True if column sorting, filtering, and layout information is preserved whenever a query table is refreshed. The default value is False. Read/write Boolean.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property PreserveColumnInfo As Boolean
Get
Set
'Usage
Dim instance As _QueryTable
Dim value As Boolean
value = instance.PreserveColumnInfo
instance.PreserveColumnInfo = value
bool PreserveColumnInfo { get; set; }
Property Value
Type: System.Boolean
Remarks
This property has an effect only when the query table is using a database connection.
You can set this property to False for compatibility with earlier versions of Microsoft Excel.