AdjustColumnWidth Property Example
This example turns off automatic column-width adjustment for the newly added query table on the first worksheet in the first workbook.
With Workbooks(1).Worksheets(1).QueryTables _
.Add(Connection:= varDBConnStr, _
Destination:=Range("B1"), _
Sql:="Select Price From CurrentStocks " & _
"Where Symbol = 'MSFT'")
.AdjustColumnWidth = False
.Refresh
End With