I have written a COM Add-In for use with Word. However every time I run Word a new button appears on the toolbar, even though I am explicitly deleting the button when I disconnect. This means I end up with a row of identical buttons instead of just one.
The code for the disconnection is:
Set MyButton = Nothing
which I took from http://support.microsoft.com/default.aspx?scid=kb;en-us;238228