check the link see if it helps* source*:http://www.vbforums.com/showthread.php?t=440508
Sub Clear_Temp_Files() Shell "RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8 " End Sub Sub Clear_Cookies() Shell "RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2" End Sub Sub Clear_History() Shell "RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1" End Sub Sub Clear_Form_Data() Shell "RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16" End Sub Sub Clear_Saved_Passwords() Shell "RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32" End Sub Sub Clear_All() Shell "RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255" End Sub Sub Clear_Clear_Add_ons_Settings() Shell "RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351" End Sub On Fri, Sep 10, 2010 at 6:08 PM, Anju <anjulav...@gmail.com> wrote: > How to clear Browser cookies & cache thru VBA code. > > > > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > HELP US GROW !! > > We reach over 7000 subscribers worldwide and receive many nice notes about > the learning and support from the group.Let friends and co-workers know they > can subscribe to group at > http://groups.google.com/group/excel-macros/subscribe > -- *Regards* * * *Ashish Koul* *akoul*.*blogspot*.com <http://akoul.blogspot.com/> *akoul*.wordpress.com <http://akoul.wordpress.com/> My Linkedin Profile <http://in.linkedin.com/pub/ashish-koul/10/400/830> P Before printing, think about the environment. -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 7000 subscribers worldwide and receive many nice notes about the learning and support from the group.Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe