+ Reply to Thread
Results 1 to 5 of 5

Wait time but without freezing (time to dowload data in cells)

  1. #1
    Forum Contributor
    Join Date
    10-18-2012
    Location
    ardeduck schools
    MS-Off Ver
    Excel 2003
    Posts
    100

    Wait time but without freezing (time to dowload data in cells)

    Hi

    I'd like to know if you guys have a solution to just make a pause without freezing excel
    It is in order to download in cells with the Bloomberg function data before copying them as you can see in this code
    With this code, Excel stops working instead of downloading the data

    Please Login or Register  to view this content.

    here is the file (but you wont see the data because you probably won't open the file from a Bloomberg equipied machine ;-)
    https://docs.google.com/open?id=0B1X...nRDOW5HRndCWms

    Best regards



    R
    Last edited by bryan444; 12-06-2012 at 10:22 AM.

  2. #2
    Forum Contributor
    Join Date
    10-18-2012
    Location
    ardeduck schools
    MS-Off Ver
    Excel 2003
    Posts
    100

    Re: Wait time but without freezing (time to dowload data in cells)

    I tried with this but it puts an error...

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    08-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    573

    Re: Wait time but without freezing (time to dowload data in cells)

    You can try this out.

    Put this declaration on top of all the modules.
    Please Login or Register  to view this content.
    Wherever you want to pause, use this code
    Please Login or Register  to view this content.
    replace 5000 with milliseconds you require.

  4. #4
    Forum Contributor
    Join Date
    10-18-2012
    Location
    ardeduck schools
    MS-Off Ver
    Excel 2003
    Posts
    100

    Re: Wait time but without freezing (time to dowload data in cells)

    THanks

    but with sleep I'm affraid excel stops working, so the data is not being downloaded... :-(

  5. #5
    Valued Forum Contributor
    Join Date
    08-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    573

    Re: Wait time but without freezing (time to dowload data in cells)

    how about using doevents in for loop? This will allow other programs to run.

+ 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