paulcherianc
Member
With the following XML code I can see only one group. Can anyone advise me how to add a New Group to the ribbon bar?
Code:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<tabs>
<tab
id="Tab1"
label="QUICK FIX">
<group
id="Group1"
label="Time Saving Tools">
<menu
id="Menu1"
image="Home"
label="Menu"
size="large">
<menu
id="Menu2"
label="Add New"
imageMso="TablePropertiesDialog">
<button
id="Button01"
label="1. Add a new sheet with Current Date"
imageMso="ExportExcel"
onAction="AddSheetCurrentDate"/>
<button
id="Button02"
label="2. Add a Calendar Sheet with user given period"
imageMso="CreateTable"
onAction="CalendarMake"/>
<button
id="Button03"
label="3. Add a sheet with This Year Calendar"
imageMso="ViewAllProposals"
onAction="ThisYearCalendar"/>
<button
id="Button04"
label="4. Create Table of Contents"
imageMso="FunctionsLogicalInsertGallery"
onAction="TableOfContent"/>
</menu>
<menu
id="Menu3"
label="Visibility and Protection"
imageMso="DatabaseSetLogonSecurity">
<button
id="Button05"
label="1. Make this sheet very hidden"
imageMso="RelationshipsHideTable"
onAction="ActiveSheetVeryHidden"/>
<button
id="Button06"
label="2. Show all very hidden sheets"
imageMso="SubformMenu"
onAction="ShowVeryHiddenShts"/>
<button
id="Button07"
label="3. Unhide All Sheets"
imageMso="PersonaStatusOnline"
onAction="UnhideAllHiddenShts"/>
<button
id="Button08"
label="4. Protect All Sheets"
imageMso="Lock"
onAction="Protect_All_Shts"/>
<button
id="Button09"
label="5. Un-Protect All Sheets"
imageMso="FileCompatibilityChecker"
onAction="Unprotect_All_Shts"/>
<button
id="Button10"
label="6. List All Un-Protected Sheets"
imageMso="Numbering"
onAction="ListAllUnprotectedShts"/>
<button
id="Button11"
label="7. List All Visible and Hidden Sheets"
imageMso="DatasheetColumnLookup"
onAction="List_all_visible_and_hidden_shts"/>
<button
id="Button12"
label="8. Lock Cells Containing Formula"
imageMso="FileLinksToFiles"
onAction="LockCellsWithFormula"/>
<button
id="Button13"
label="9. Set Custom Zoom % For All Sheets"
imageMso="ZoomPrintPreviewExcel"
onAction="SetCustomZoomForAllShts"/>
</menu>
<menu
id="Menu4"
label="Columns and Rows"
imageMso="TablePropertiesDialog">
<button
id="Button14"
label="1. Auto Fit All Rows in this Worksheet"
imageMso="GridlinesGallery"
onAction="AutoFitAllRows1"/>
<button
id="Button15"
label="2. Auto Fit All Columns in this Worksheet"
imageMso="RelationshipsHideTable"
onAction="AutoFitColumnsInActiveSheet"/>
<button
id="Button16"
label="3. Delete All Blank Columns"
imageMso="OmsDelete"
onAction="DeleteBlankColums"/>
<button
id="Button17"
label="4. Delete All Blank Rows"
imageMso="OmsDelete"
onAction="DeleteBlankRows"/>
</menu>
<menu
id="Menu5"
label="Apply Formula On Cells and Comments"
imageMso="ActionInsert">
<button
id="Button18"
label="1. Insert Formula On Selected Cells PS:(No Undo)"
imageMso="AutoSum"
onAction="InsertFormulaOnSelectedCells"/>
<button
id="Button19"
label="2. Insert Comments (Multiple Cells)"
imageMso="WebServerDiscussions"
onAction="InsertCommentsOnSelection"/>
<button
id="Button20"
label="3. Highlight Cells with Comments PS:(No Undo) "
imageMso="ObjectEffectGlowGallery"
onAction="HighlightCommentOnCells"/>
<button
id="Button21"
label="4. Highlight Duplicated Values on the Selected Range PS:(No Undo)"
imageMso="ConditionalFormattingHighlightCompareColumns"
onAction="HighlightDuplicatedValuesOnRange"/>
<button
id="Button22"
label="5. Change Comment Box Appearance in this Sheet PS:(No Undo)"
imageMso="AppointmentColorDialog"
onAction="ChangeCommentBoxColorOnThisSheet"/>
<button
id="Button23"
label="6. Replace Blank Cells With Zero on the Selected Range PS:(No Undo)"
imageMso="O"
onAction="ReplaceBlankCellsWithZeroOnSelection"/>
</menu>
<menu
id="Menu6"
label="Menu4">
<button
id="Button5"
label="Button5"/>
<menu
id="Menu7"
label="Menu5">
<button
id="Button6"
label="Button6"/>
<button
id="Button7"
label="Button7"/>
</menu>
</menu>
</menu>
</group>
</tab>
</tabs>
</ribbon>
</customUI>