Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Delete Temporary Internet Files with VBA

All,

I have a web query routine written in VBA that I have been using for 2
years. All of a sudden, the query stopped working this weekend. I
started getting "Invalid Web Query" error. I haved tracked the
problem down to Temporary Internet Files. If I get an error, I simply
pull up IE and clear the files. All will be well for about 40 or so
queries. Does anyone out there know of a method to clear temporary
internet files in vba. I am looking for a way to clean out the cache
after every query. I have experienced this problem on multiple
machines using Excel 2003 & 2007 with IE7. All responses are greatly
appreciated.

Thanks!
Newt

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Delete Temporary Internet Files with VBA

Newt,
Try this:
http://vbnet.mvps.org/code/internet/deleteurlcache.htm

NickHK

"Newt" wrote in message
ups.com...
All,

I have a web query routine written in VBA that I have been using for 2
years. All of a sudden, the query stopped working this weekend. I
started getting "Invalid Web Query" error. I haved tracked the
problem down to Temporary Internet Files. If I get an error, I simply
pull up IE and clear the files. All will be well for about 40 or so
queries. Does anyone out there know of a method to clear temporary
internet files in vba. I am looking for a way to clean out the cache
after every query. I have experienced this problem on multiple
machines using Excel 2003 & 2007 with IE7. All responses are greatly
appreciated.

Thanks!
Newt



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Delete Temporary Internet Files with VBA

I have also started having this problem - and I've seen a single
reference to a similar problem at

http://malaysia.answers.yahoo.com/qu...4164814AAe96fr

Has anybody seen this problem elsewhere?

Anybody reported it to Microsoft? I strongly suspect a recent
automatic update around the middle of february 2007.

Peter



On Mar 8, 2:21 am, "NickHK" wrote:
Newt,
Try this:http://vbnet.mvps.org/code/internet/deleteurlcache.htm

NickHK

"Newt" wrote in message

ups.com...



All,


I have a web query routine written in VBA that I have been using for 2
years. All of a sudden, the query stopped working this weekend. I
started getting "Invalid Web Query" error. I haved tracked the
problem down to Temporary Internet Files. If I get an error, I simply
pull up IE and clear the files. All will be well for about 40 or so
queries. Does anyone out there know of a method to clear temporary
internet files in vba. I am looking for a way to clean out the cache
after every query. I have experienced this problem on multiple
machines using Excel 2003 & 2007 with IE7. All responses are greatly
appreciated.


Thanks!
Newt- Hide quoted text -


- Show quoted text -



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
How do I open temporary internet files mdoyer Excel Discussion (Misc queries) 3 October 12th 09 07:41 AM
how can i delete excel temporary files en mass? cs103 Excel Discussion (Misc queries) 2 February 16th 09 05:37 PM
Web query failing due to too many temporary internet files? gt Excel Programming 2 March 8th 07 12:43 AM
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 02:17 AM.

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"