LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 310
Default Application.Wait information request

Hello all!

I have a question about the Wait function in VBA. I currently am using it
to pause my macro before continuing through a do/ while loop. In this loop
I'm checking a cell value. In this cell is an add-in function from
Bloomberg. When I first enter the function the end result doesn't appear
right away. Instead a "requesting data" value shows in the cell first. It
takes a while before the actual answer appears. In the do/ while loop I keep
checking the value over and over again because I can't do the next step until
the true value shows. My question is if I have the application wait will it
also stop the function from being able to pull the data from Bloomberg by
pausing the connection with it as well? I only ask because I can't seem to
get a value past the initial "requesting data" output, and I can if I simply
run the function in a cell without using the macro. (I'm really hoping this
all makes sense.) I have looked all over these discussion groups, and can't
quite come up with an answer. When I looked at the msdn site I found this
answer, "However, background processes such as printing and recalculation
continue," but am uncertain if this pertains to functions that are add in's
from another software.

I originally had the do/ while loop continually running without a pause, but
I couldn't seem to get past the "requesting data" doing that either. If I
just continually run the loop will Excel still be also continually accessing
Bloomberg or will it pause that?

Any help would be greatly appreciated. If you have any questions regarding
this don't hesitate to post. I think this might be a convoluted question.
Thank you in advance.

--
Cheers,
Michelle
"Anyone who says he can see through women is missing a lot." Groucho Marx
 
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
Make onTimer wait until Excel finish database request? news.stofanet.dk Excel Programming 2 March 4th 07 08:36 PM
Application.wait... won't! Peter Rooney Excel Programming 12 November 17th 06 04:31 AM
Please help with Application.Wait ( ) Steve[_80_] Excel Programming 2 January 6th 06 01:23 PM
Different syntax for Application.Wait Desert Piranha[_19_] Excel Programming 3 December 16th 05 12:13 PM
application.wait help flowtester Excel Programming 10 December 4th 05 03:47 PM


All times are GMT +1. The time now is 11:28 AM.

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"