tab

This contains all the tab nodes representing all the tabs.
This element is a container for all the changed relating to existing or new tabs on the Ribbon.
The tab element represents a single tab. In the object model this is RibbonTab.


To display an ampersand use &&


<customUI> 
   <ribbon>
      <tabs>
<tab id="CustomTab" label="My Tab">
   <group id="SimpleControls" label="My Group">
      <button id="Button1" imageMso="HappyFace" size="large"
         label="Large Button"
onAction="ThisWorkbook.MyMacro"/>
   </group>
</tab>

ControlId Property

Gets or sets the unique name of a tab
This can only be changed by changing the Name.


CustomId Property

This can only be changed by changing the Name.


Groups Collection

This contains all the group controls created by the addin that are associated with the tab.
It does not include built-in groups if the tab is a built-in tab.


Attributes

enabled 
idThis is the name of the tab
idMso 
idQ 
insertAfterMso 
insertAfterQ 
insertBeforeMso 
insertBeforeQ 
keytip 
label 
screentip 
showLabel 
supertip 
tag 
visible 

Children

group 

Callbacks

getImage 
getImageMso 
getKeytip 
getLabel 
getScreentip 
getSupertip 
getVisible 


Public Sub Tab_OnGetVisible(ByRef control As Office.IRibbonControl, _ 
                        ByRef Visible as Variant)
End Function
bool Tab_OnGetVisible(Office.IRibbonControl control) 
{
}


© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext