Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Removing Addin Buttons on Toolbars

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
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.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Removing Addin Buttons on Toolbars


Thank you. I was also wondering if there were a location in the registry were several such 'garbage' toolbar entries might be deleted (i.e. previous tries at the addin's name)
----- Bob Phillips wrote: ----

Dan

Two ways

remove it on clos

make it a temporary contro

--

HT

Bob Phillip
... looking out across Poole Harbour to the Purbeck
(remove nothere from the email address if mailing direct

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

starts and insert a 'button' with a title at a specific place in th
toolbar, such as under 'Tools'. The user can then drop-down 'Tools', selec
the addin button, and my form appears
The Problem I am having is getting rid of the da@! buttons out of th

toolbar after the Addin has been removed. When you are testing severa
versions of an addin either by installing it as an app or just registerin
the DLL, it would be nice to clean the button out of the Excel toolbar. An
certainly this will not do if a customer wants to uninstall and my (n
longer working) Addin button is still in the toolbar
I have searched the registry for a key that might be deleted to remove th

button (that no longer works) but to no avail
Can anyone give me some direction, please? My thanks in advance! Da

Grindstaff



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default Removing Addin Buttons on Toolbars


The Problem I am having is getting rid of the da@!
buttons out of the toolbar after the Addin has been
removed.


Yu have to "delete" each and every one, perhaps in
your "Before_Close" routine, thus :

e.g.
On Error Resume Next
Application.CommandBars("Alignment").Controls
("Project").Delete
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
toolbars (removing and reinstating) Atishoo Excel Discussion (Misc queries) 2 February 20th 09 11:30 PM
removing customized toolbars news Excel Discussion (Misc queries) 1 February 24th 05 03:11 PM
Removing and replacing toolbars... Big Chris[_26_] Excel Programming 5 January 13th 04 07:36 AM
removing and replacing toolbars Paul James[_3_] Excel Programming 5 January 9th 04 12:23 AM
Buttons in Toolbars Tommi[_2_] Excel Programming 2 December 9th 03 11:50 AM


All times are GMT +1. The time now is 02:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"