Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Help! Query table refresh hangs excel

Hi,

I am writing a component which uses the QueryTable to get data from a url
(an asp page) and put it into a worksheet in a work book. This it does in a
loop to fill 17 worksheets based on some criteria.

This works fine on my local but very erratically on the live server which is
a windows 2003 machine.
On the server it just hangs for some of the reports I am trying to create.
I used a log file to debug and realised it hangs at this line of code

oQueryTable.Refresh(false);

Its like the control never comes back to the component.

I just don't under stand whats going on here. Why does the web query hang
sporadically when it works just fine on my machine?

Any help would be really appreciated. I am at my wits end!

Thanks,
Juhi.




Reply
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
MS Query - Add Table - Hangs/Not Responding Mathew P Bennett Excel Discussion (Misc queries) 0 August 4th 08 07:39 PM
Code To Refresh Query Table Carl Excel Discussion (Misc queries) 0 December 8th 06 01:23 AM
How do I get a web query to auto-refresh before a pivot table aut. Conniemm Excel Discussion (Misc queries) 0 December 8th 04 06:49 PM
Timing of automatic query refresh and macro pivot table refresh dutty Excel Programming 2 December 1st 04 07:19 PM
Excel does not close from VB!! (when i refresh Refresh query with BackgroundQuery:=False) Anant[_2_] Excel Programming 1 August 6th 03 04:22 AM


All times are GMT +1. The time now is 07:39 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"