LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
bac bac is offline
external usenet poster
 
Posts: 76
Default Suspend program for data retrieval

Xp SP2; MSO 2003

I need to suspend VBA code in Excel until a web query finishes downloading
data into a .txt file on my local drive.

I found a way to do that for Access VBA by looking for the file, but my
problem here is that the file gets created, then it could take from several
seconds to several minutes to download, especially when users are remoting in
to a distant server from their home.

Since the file size varies, I can't
Do until newfile.size = ???
since it may never get to ??? or ??? may end up being only 1/3 of the data.

Is there a way to ensure the download has completed and the file is closed,
that I can test for before allowing the code to proceed?

TIA
BAC
 
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
Data storage/retrieval Adam Excel Discussion (Misc queries) 3 December 12th 07 01:29 PM
Data Retrieval pkpocket Excel Discussion (Misc queries) 2 October 2nd 07 12:50 AM
Userform data retrieval gachett[_3_] Excel Programming 0 January 3rd 06 04:12 PM
Data Retrieval bach Excel Programming 2 September 8th 05 03:43 PM
HTML data retrieval bspar Excel Programming 0 May 17th 04 08:07 PM


All times are GMT +1. The time now is 08:52 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"