ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   MS Query Not Returning Data to Excel (https://www.excelbanter.com/excel-programming/387407-ms-query-not-returning-data-excel.html)

lucycard

MS Query Not Returning Data to Excel
 
I have no desire to do this in VBA. I am using SQL in MSQUERY to retrieve
data from SQL SERVER. It comes in fine, but when I tell it to return data to
Excel, all it does is place the name of the query in the upper left hand
corner of the spreadsheet, whether a new sheet or existing one is selected.

How do I get a simple display of the results of the query into the
spreadsheet?

Mark J

MS Query Not Returning Data to Excel
 
you need to use the pivot table function to see your data in excel.

"lucycard" wrote:

I have no desire to do this in VBA. I am using SQL in MSQUERY to retrieve
data from SQL SERVER. It comes in fine, but when I tell it to return data to
Excel, all it does is place the name of the query in the upper left hand
corner of the spreadsheet, whether a new sheet or existing one is selected.

How do I get a simple display of the results of the query into the
spreadsheet?



All times are GMT +1. The time now is 05:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com