Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default VBA: Code to Clear IE Cache

Can someone please provide me with the coding to clear my IE cache?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default Code to Clear IE Cache

This is one way:

Private Declare Function DeleteUrlCacheEntry Lib "Wininet.dll" _
Alias "DeleteUrlCacheEntryA" _
(ByVal lpszUrlName As String)
As Long

Sub ClearCache(strURL As String)

If DeleteUrlCacheEntry(strURL) = 0 Then
MsgBox "The cached couldn't be cleared, so" & _
vbCrLf & "possibly you won't get the latest.", , _
"clearing cache"
End If

End Sub


Sub test()

ClearCache "http://www.google.co.uk/"

End Sub


RBS



"CM4@FL" wrote in message
...
Can someone please provide me with the coding to clear my IE cache?

Thanks


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 to Clear a Pivot Table Cache DoctorG Excel Discussion (Misc queries) 1 February 16th 10 03:04 PM
Memory/Cache Clear: Ardy Excel Programming 3 July 19th 07 03:42 PM
Flushing Memory/Cache Clear: Ardy Excel Programming 3 July 19th 07 03:27 PM
Flush Memory/Cache Clear: Ardy Excel Programming 1 July 18th 07 01:43 AM
Flushing Memory/Cache Clear: Ardy Excel Programming 2 July 17th 07 08:52 PM


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