LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
gt gt is offline
external usenet poster
 
Posts: 19
Default Web query failing due to too many temporary internet files?

I have a spreadsheet that pulls stock information off of Yahoo Finance. I
have vba code that goes through a list of stock symbols and pulls up a web
query for each then taking the data and copying elsewhere in the workbook.

I've been using this query for years with no problem. Suddenly, about a week
ago the query would start failing after running a certain number of symbols
(typically about 50 or 60). When I would manually try to refresh the query in
the spreadsheet it would give me an error that said that the query is
incorrectly formatted.

I did all kinds of messing with my web settings to see if anything fixes it.
I finally deleted all of my temporary internet files and it started working
again. But, one catch, I can only run 50 or 60 symbols before the problem
starts happening again! If I delete temporary internet files I can run
through the next 50 or 60 symbols. Big pain! If I go to the temporary
internet files directory I see a bunch of "q?s=XXX" files where "XXX" is the
symbol. I know they are the culprit because if I delete just those files it
starts working.

So, questions would be:
- Has anyone run into something similar?
- I tried to use VBA code (Kill command) to delete temporary internet files,
but I think it can't find them because they are hidden/system. Anyone know of
code that can do this?
- Is there a way to force excel to not cache?
- Any other ideas?
 
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
How do I open temporary internet files mdoyer Excel Discussion (Misc queries) 3 October 12th 09 07:41 AM
Data query failing jtrai491 Excel Worksheet Functions 1 November 13th 06 08:10 PM
Can VBA clear the Temporary Internet File folder? quartz[_2_] Excel Programming 1 December 3rd 04 11:57 PM
Delete Temporary internet files junx13[_5_] Excel Programming 7 June 25th 04 12:54 PM
Listing Temporary Internet Files Alan Phang Excel Programming 3 February 11th 04 04:09 AM


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