Can link to a named range. Syntax for TransferSpreadsheet:
"SheetName!RangeName"
Yes, use ! in TransferSpreadsheet command which will create a link that has $ character. Weird but true.
Once link is established, IMEX can be modified with VBA and TableDefs.
However, I am getting odd behavior with my testing. I cannot establish link with named range using TransferSpreadsheet unless the workbook is open. This is very odd.
Or build a query object with parameters. Example.
Code:
SELECT * FROM [Units$] IN 'C:\Users\June\Condos.xlsx'[Excel 12.0;HDR=yes;IMEX=0;ACCDB=Yes;TABLE=Units$Print_Area];