+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 - Using Microsoft Query

  1. #1
    Registered User
    Join Date
    12-09-2003
    Posts
    53

    Question Excel 2007 - Using Microsoft Query

    I started to use the Data Connection tool using Microsoft Query to access data directly from SQL tables to update spreadsheets. The feature is great as I can link to several tables. I have a data connection in an Excel spreadsheet that updates payments made within a date range entered on the Excel spreadsheet. The query seems to take too long to refresh the data - like 5 minutes. Staff not happy waiting. Is there anything I can do to speed up the query/refreshing of data?

    Thank you much.

  2. #2
    Forum Contributor
    Join Date
    04-24-2007
    Location
    NYC
    MS-Off Ver
    2k3/2k7/2010
    Posts
    270

    Re: Excel 2007 - Using Microsoft Query

    Check your query, if you run the query in a sql editor, if it is the same amount of time, you need a better query because your DB is doing a lot of work to get you your info. If the SQL editor spits it out in seconds, then you need to write your macro doing the sql connection because that one is inefficient.

  3. #3
    Registered User
    Join Date
    12-09-2003
    Posts
    53

    Re: Excel 2007 - Using Microsoft Query

    I will give it a try. Thank you much.

  4. #4
    Registered User
    Join Date
    12-09-2003
    Posts
    53

    Re: Excel 2007 - Using Microsoft Query

    Hello SLX - I did run the query in SQL and it runs in seconds. Does that mean settings in Excel or data connection using MS Query need to be changed?

  5. #5
    Forum Contributor
    Join Date
    04-24-2007
    Location
    NYC
    MS-Off Ver
    2k3/2k7/2010
    Posts
    270

    Re: Excel 2007 - Using Microsoft Query

    yes, you will either tweak the setting in ms query to try and get an improvement, or you will have to use a macro that uses a different connection to speed it up.

    One thing you can try, is to run the ms query in a brand new workbook. If it runs a lot faster then your current workbook. Then you have multiple queries in your current workbook and that is slowing it down

  6. #6
    Registered User
    Join Date
    12-09-2003
    Posts
    53

    Re: Excel 2007 - Using Microsoft Query

    Thanks so much for your help. Much appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel 2007 - Microsoft Query
    By mab in forum Excel General
    Replies: 0
    Last Post: 04-12-2012, 05:56 PM
  2. Microsoft Excel 2010 Doesn't Support Microsoft Excel 2007
    By Orange.CL in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-01-2010, 03:21 AM
  3. Importing Access query into Excel:Microsoft Query
    By ge0rge in forum Excel General
    Replies: 3
    Last Post: 04-02-2009, 10:51 AM
  4. Microsoft Query using Excel
    By Krish in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-16-2005, 03:05 PM
  5. [SOLVED] Microsoft Query in Excel
    By mbachand in forum Excel General
    Replies: 0
    Last Post: 09-30-2005, 11:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1