+ Reply to Thread
Results 1 to 2 of 2

Updating ODBC query with VBA

  1. #1
    Registered User
    Join Date
    11-16-2017
    Location
    Ohio, United states
    MS-Off Ver
    2013
    Posts
    41

    Updating ODBC query with VBA

    I have a sheet with 8 ODBC queries on it, and when i refresh all the data it takes almost a full 2.5 minutes to refresh. Is there a way using VBA to fetch the same data that I need from the server that would be faster?

    Thanks,
    CodeManCode

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,177

    Re: Updating ODBC query with VBA

    If the SQL pulls all the data in 1 batch then no. Unless you can pull smaller batches.

    If the SQL is in cells ,pulling 1 cell at a time ,then yes, you can improve by importing all at once, THEN place data in cells.

+ 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. Updating mySQL database with excel using ODBC?
    By mrnbafreakk in forum Access Tables & Databases
    Replies: 0
    Last Post: 02-27-2011, 01:57 AM
  2. can ODBC query with parameter?
    By nigege in forum Excel General
    Replies: 1
    Last Post: 07-11-2010, 02:02 AM
  3. ODBC query duplicates
    By PhoDave in forum Excel General
    Replies: 0
    Last Post: 05-27-2008, 01:36 PM
  4. MS Query ODBC Connection
    By mlr0911 in forum Excel General
    Replies: 2
    Last Post: 04-24-2008, 08:52 AM
  5. [SOLVED] Updating data with an ODBC link to ACCESS
    By in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-06-2006, 09:10 AM
  6. ODBC database query
    By gneissgirl in forum Excel General
    Replies: 0
    Last Post: 11-10-2005, 02:18 PM
  7. updating cells which containing formulae via odbc
    By arl in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-05-2005, 06:05 PM

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