none
Word 2007- Deleting a custom button. RRS feed

  • Question

  • Hello, 

    I have office 2007. 

    I installed a dictionary on my computer and it installed an add-in into word. 
    Now i have under add-ins tab a button with the name of the dictionary. 

    I decided to delete the dictionary from the computer.
    After uninstalling, it seems that the add-in itself was remove from Word, but the button still there and as expected - inactive.

    I need a vba code that will know how to delete this icon.

    I have to do it for 100 computers.

    Can anyone help?

    Thanks
    Amir 


    • Edited by Amir Atary Wednesday, December 4, 2013 11:39 AM
    Wednesday, December 4, 2013 11:13 AM

All replies

  • What sort of add-in? Without knowing where the button is stored, it will not be possible to produce a function to remove it.

    However, it seems likely that there is a related template in the Word startup folder, that is providing the button on the ribbon. That being the case if you remove the template from the folder with Word closed the button should go away.

    If you have not changed the preferred startup folder it can be located (in English language versions of Windows) by typing

    %appdata%\Microsoft\Word\Startup

    in the Windows Explorer Address bar and pressing Enter.


    Graham Mayor - Word MVP
    www.gmayor.com


    Wednesday, December 4, 2013 12:48 PM
  • Thank you for taking the time to answer. 

    It would be much easier if it would be a template in the startup folder. 
    This folder is empty. 

    Seems that the installation registers a certain DLL, then the button appears in word. 
    If I unregister the DLL, the com addin disappear from Word, but the button still there. 

    Take a look at the print screens. 
    https://skydrive.live.com/redir?resid=D99573B9FC48B9D4!263&authkey=!ALd2E8WLFQZuVr8&ithint=folder%2c

    Do you need anymore details about how the addin is installed?

    Thank you again

    Amir

    Wednesday, December 4, 2013 1:16 PM