Excel 2007 Ribbon Problem...

amitkumarsony2412

New Member
Joined
Sep 13, 2010
Messages
8
Hi Friends,
I've made two excel addins for excel 2007 version. When its load, automatically add a tab called utilities.
I want to know...
1.) Whether we can check its installed or not from vba code.
2.) If its installed then want to add some more group in the same tab.
3.) It its not installed yet, then create new tab called utilities.
I know how to add a new tab or add commands in an existing tab, but I'm not able to check for existing tab's load status

When i load my first addin its working successfully, but when i installed the second addin its make an new tab with the same name.
Here's my code for Ribbon Tab :

<?XML:NAMESPACE PREFIX = [default] http://schemas.microsoft.com/office/2006/01/customui NS = "http://schemas.microsoft.com/office/2006/01/customui" /><customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"><customUI xmlns="<a href=" target=" target=" http: _blank? forum www.mrexcel.com><ribbon>
<tabs>
<tab id=TbUtilities label="Utilities">
<group id=Grp1 label="MyGroup">
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<tabs>
<tab id="TbUtilities" label="Utilities" >
<group id="Grp1" label="MyGroup">
<button id="Btn1" label="Start Data Extraction" size="normal" onAction="OnCall" image="Import" />
<button id="Btn2" label="Settings" size="normal" onAction="OnCall" image="Settings" />
</group>
</tab>
</tabs>
</ribbon>
</customUI></group></tab></tabs></ribbon></customUI>
</customUI>
 
Last edited:

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Code:
On Error Resume Next
Set wbMyAddin = Workbooks(Addins("My Addin").Name)
zError = Err
On Error Goto 0
If zError <> 0 Then
Set wbMyAddin = Workbooks.Open(Addins("My Addin").FullName)
End If
 
Upvote 0

Forum statistics

Threads
1,215,179
Messages
6,123,495
Members
449,100
Latest member
sktz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top