Vertical Space in RibbonX icon of Microsoft Office Excel

mohsinbipu

New Member
Joined
Feb 19, 2021
Messages
5
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. Web
I am trying to learn how to create custom ribbon in Excel just for my knowledge. I am trying to create ribbon similar like Home tab. But my vertical spacing is not like home tab. Picture can shown in details for better understanding about my issue. Also I am trying to find out how can I create bottom right corner icon. Please help me a idea, how to solve this problem.

VBA Code:
<group id="ToolsGeneral" label="Sheet Tools">

         <box id="box" boxStyle="vertical">
            <dropDown  id="btnSheets"
                getItemCount="btnSheetCount"
                getItemLabel="btnSheets_getItemLabel"
                onAction="SheetsClick"
                sizeString="MMMMMMMMM" 
                label="Sheets" 
                getSelectedItemIndex="btnSheets_getSelectedItemIndex" />
           <box id="buttonGroup" boxStyle="horizontal">
               <button id="button1" imageMso="HappyFace" />
               <button id="button2" imageMso="HappyFace" />
               <button id="rxJKPSheetToolsbtnInsertToc"  
                            onAction="nsertTC"
                            imageMso="CustomTableOfContentsGallery" />
            </box>
        </box>
</group>

I have asked same issue in here. But I would like to publish here to get any different idea.
 

Attachments

  • ribbon UI Excel.jpg
    ribbon UI Excel.jpg
    52.9 KB · Views: 4

Some videos you may like

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

mohsinbipu

New Member
Joined
Feb 19, 2021
Messages
5
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. Web
Any body can kindly help .... Please?
 

Watch MrExcel Video

Forum statistics

Threads
1,127,529
Messages
5,625,351
Members
416,096
Latest member
forevans

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
Top