Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time Delay with VBA 1

Status
Not open for further replies.

uscguy22

Technical User
Dec 8, 2004
2
US
Hi Everyone,

I'm running a webquery in EXCEL and want to do some analysis with the data afterwards. Does anyone know how to write the code that tells Excel to wait 10 seconds while the webquery is in progress so that the web query can complete? Thanks.

 
It looks like this may work.
"Use the built-in Wait method."

Application.Wait( Now + TimeValue("0:00:10") )


Andy Rice
San Diego, CA
 
And what about setting the BackgroundQuery property to false ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top