LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.setup
Rob
 
Posts: n/a
Default Retrieving SQL data into Excel - Part II

Hi,

I have rather complex SQL Server query using CASE function, table joins,
etc. that I was able to execute in MS Query (MSQRY32.exe). However, when I
try to export or open the saved query file (.dqy) into MS Excel, it reports
an error (Microsoft Excel could not open or read this query file. Either the
file has been damaged or the file format is not valid).

Has anyone seen this before? My user isn't tech savvy and would just like to
double-click this query so that it automatically populates his Excel
spreadsheet with the result of the saved query.

I have tried using this approach without the CASE function on another
simpler query and was able to retieve the data in Excel successfully. So, I'm
not sure if this has anything to do with me using CASE or not.

Any help, comments, and/or suggestions on this would be highly appreciated.
Thank you.

Regards,

- Rob.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
consolidation of tables in excel with text and figures samenvoegen van sheets Excel Worksheet Functions 8 March 2nd 06 03:27 PM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
Linking the data from one excel to another mrbalaje Excel Discussion (Misc queries) 2 June 13th 05 10:44 AM
How can deleted data reappear in a refreshed pivot table in Excel excel_user123456 Excel Discussion (Misc queries) 3 February 23rd 05 08:34 PM
problem in retrieving data from excel report kanth Excel Discussion (Misc queries) 1 December 5th 04 07:28 PM


All times are GMT +1. The time now is 08:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"