ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Attaching Command Bars to Add-IN (https://www.excelbanter.com/excel-programming/294106-attaching-command-bars-add.html)

Thomas Herr

Attaching Command Bars to Add-IN
 
I have attached a command bar to an add-in which I then installed on another
persons PC. When the add-in opened an older version of the command bar
showed up. This did not happen on my PC. I had to delete the command bar
on the other persons PC via code. What caused this and how can it be
avoided?



Tom Ogilvy

Attaching Command Bars to Add-IN
 
If a commandbar with the same name already exists, it will not be replaced
by the attached commandbar.

This is the designed behavior.

--
Regards,
Tom Ogilvy


"Thomas Herr" wrote in message
...
I have attached a command bar to an add-in which I then installed on

another
persons PC. When the add-in opened an older version of the command bar
showed up. This did not happen on my PC. I had to delete the command

bar
on the other persons PC via code. What caused this and how can it be
avoided?





Dave Peterson[_3_]

Attaching Command Bars to Add-IN
 
You may want to read Jan Karel Pieterse's notes:
http://google.com/groups?threadm=083...0a% 40phx.gbl

Thomas Herr wrote:

I have attached a command bar to an add-in which I then installed on another
persons PC. When the add-in opened an older version of the command bar
showed up. This did not happen on my PC. I had to delete the command bar
on the other persons PC via code. What caused this and how can it be
avoided?


--

Dave Peterson


Thomas Herr

Attaching Command Bars to Add-IN
 
Thanks. Very helpful.

"Dave Peterson" wrote in message
...
You may want to read Jan Karel Pieterse's notes:

http://google.com/groups?threadm=083...80a% 40phx.gb
l

Thomas Herr wrote:

I have attached a command bar to an add-in which I then installed on

another
persons PC. When the add-in opened an older version of the command bar
showed up. This did not happen on my PC. I had to delete the command

bar
on the other persons PC via code. What caused this and how can it be
avoided?


--

Dave Peterson





All times are GMT +1. The time now is 01:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com