+ Reply to Thread
Results 1 to 2 of 2

Pausing a macro to wait for the results from the query

  1. #1
    Registered User
    Join Date
    05-14-2007
    Posts
    8

    Pausing a macro to wait for the results from the query

    My EXCEL macro contains some queries that retrieve data from an ORACLE database and then do processing of that data. With debugging it is apparent that the macro tries to do the post-query processing of data before the data has actually been returned.

    Is there a way not requiring human intervention to make the macro wait for the data? It works just fine if I add a breakpoint in the macro just after the query, but would prefer not having the break.

    Thanks!

  2. #2
    Forum Contributor
    Join Date
    09-04-2006
    Location
    Yorkshire, England
    Posts
    267
    Hi,

    Theres no 'official' way but there are as usual, clever workarounds.

    see the below for infomation as some will be quite complex to explain here.

    http://support.microsoft.com/kb/212711

    except this one

    http://www.pcreview.co.uk/forums/thread-1628277.php

    a few more

    http://www.hummingbird.com/hostexplo...028.html?cks=y

    http://p2p.wrox.com/topic.asp?TOPIC_ID=25435

    I'm sure there is one here to suit your needs
    JR
    Versions
    Mac OS X 'Leopard'
    Mac MS Office Excel 2004
    Windows XP
    MS Excel 2002
    MS Excel 2003

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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