

' Change here for the addin to get removed add the exact entry as in the registry Needs some more modifications on how to remove it from all the profiles and to change then rearrange the OPEN key values I have used a script from © Bill James and made some changes to it to search for the exact file name and output as a reg file, not many changes are made except to make it silent, credit goes to Bill James. This script removes XL addin from current user, i want it remove from all the user profiles. WshShell.Regdelete ("HKCU\Software\Microsoft\Office\11.0\Excel\Options\OPEN" & b) XLReg1=WshShell.RegRead ("HKCU\Software\Microsoft\Office\11.0\Excel\Options\OPEN" & b) WshShell.Regdelete ("HKCU\Software\Microsoft\Office\10.0\Excel\Options\OPEN" & a) XLReg=WshShell.RegRead ("HKCU\Software\Microsoft\Office\10.0\Excel\Options\OPEN" & a) WshShell.Regdelete ("HKCU\Software\Microsoft\Office\11.0\Excel\Options\OPEN") WshShell.Regdelete ("HKCU\Software\Microsoft\Office\10.0\Excel\Options\OPEN")

XLReg1=WshShell.RegRead ("HKCU\Software\Microsoft\Office\11.0\Excel\Options\OPEN") XLReg=WshShell.RegRead ("HKCU\Software\Microsoft\Office\10.0\Excel\Options\OPEN") Set WshShell = CreateObject("WScript.Shell")

Set FSO = CreateObject("Scripting.FileSystemObject") 'Description: Used to remove Excel Add-Ins automatically in Office XP and Office 2003. The error will pop up if you don't remove the entry in the HKCU registry.
