A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi
This is a user-to-user forum. On occasion Microsoft employees visit here and sometimes participate, but that is not generally the case.
You didn't say what version and build of Excel you are using. You can determine this by going to the Excel menu and choosing About Excel. My reply is based on Excel version 15.27 build 160920.
If you right-click in the querytable and choose Refresh from the pop-up menu, this message displays:
Unfortunately, when you attempt to use code to get around this, Excel just goes off to la-la land, as you observed.
You should be able to generate a querytable result set from another worksheet within a workbook using the Actual Technologies Access ODBC driver. The caveat is that you can not refresh the querytable once you make it. Your code would have to generate a new querytable each time.
If you want to beg for support for the querytable connection you are currently using, you can do it here: