View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Removing Addin Buttons on Toolbars

Dan,

Two ways,

remove it on close

make it a temporary control

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Dan Grindstaff" wrote in message
...
Hello All. I have built a couple different VB addins the load when Excel

starts and insert a 'button' with a title at a specific place in the
toolbar, such as under 'Tools'. The user can then drop-down 'Tools', select
the addin button, and my form appears.

The Problem I am having is getting rid of the da@! buttons out of the

toolbar after the Addin has been removed. When you are testing several
versions of an addin either by installing it as an app or just registering
the DLL, it would be nice to clean the button out of the Excel toolbar. And
certainly this will not do if a customer wants to uninstall and my (no
longer working) Addin button is still in the toolbar.

I have searched the registry for a key that might be deleted to remove the

button (that no longer works) but to no avail.

Can anyone give me some direction, please? My thanks in advance! Dan

Grindstaff.