Outlook Web Add-in > Control Menu separator & entry with no icon - outlook-web-addins

Working with an office Web Add-In, I am trying to:
Add a sub menu entry with no icon: When no icon is set a default one is picked up. I can obviously add a transparent pixel picture but that's not really elegant.
Add a separator like the menuSeparator in a VSTO add-In.
Any idea?

Related

Adding macro button to trigger a specific Macro

Whenever I add a custom Macro button to the Quick Access Toolbar , it is a generic Macro window invocation button. What I want is that if I click on the button, a specific Macro should directly start running. As of now there are 2-3 steps before I do that. First of all I click on the icon on the quick access toolbar , another small drop down shows up unnecessarily as shown here ( not sure why Add Ons is appearing here, I never added)
Secondly, if I click on the bigger Macros icon in the dropdown again , I get a dialog box where I have to choose macro from a list. I don't want to go through all this. As soon as I click on the button, a specific macro (I should be able to configure name of the macro) should start. I know there is a shortcut available for triggering a specific macro but I prefer a button.
If you don't want to configure QAT buttons manually you may consider developing a COM based add-in instead. See Walkthrough: Create your first VSTO Add-in for Outlook for more information.
To customize the ribbon UI you can use the designer provided by VSTO, see Walkthrough: Create a custom tab by using the Ribbon Designer.

Excel AddIn How to change the Dialog title?

I am trying Excel Addin with dialog api, and I have such dialog below:
How can I change the content in green area?
How can I disable the close button in red area?
The title is the name of your add-in specified in the manifest file. It is out of your control.
There is no way to remove the close button on the upper right corner of the dialog window.
Read more about that in the Use the Office dialog API in Office Add-ins article.

Add a new button under "Home" Tab in excel

I am trying to add a new button under Fill color in Home tab in excel
I have tried adding my button by going to File > Option > Customize Ribbon but the options are disabled
I want to add my button in "Home" tab
Here is an interesting way of customizing the ribbon in excel (still works in Excel 2016) :
https://www.rondebruin.nl/win/s2/win001.htm
In brief, with the help of CustomUI you will modify part of the file archive in the way that you can remove actual tabs, add your own tab, and custom buttons inside of it
You asked for adding a button in the "Home" tab, a workaround would be recreating "Home" tab in a personnal ribbon tab and adding your own button to it. Your personnal button could trigger a macro sub (VBA) or even use native Excel functionalities.
(I can help you further if you choose this way)

Remove a tab in Ribbon in Excel for Mac

I have made an add-in ("Funfun") by myself. The manifest files are a little bit messy. Curiously, I cannot remove that add-in from Ribbon anymore in Excel for Mac.
I tried to "reset all customizations", and to re-install Excel, but the Funfun tab is still there. As a consequence, I cannot load the right manifest file to debug that add-in.
Does anyone know how to remove that tab, and start from the very beginning?
According to Excel for Mac documentation:
Remove tabs: You can remove custom tabs only from the Ribbon. To remove, select your tab in the Customize the Ribbon box and click Office 2016 for Mac Customize Ribbon Remove Button
Ref: https://support.office.com/en-ie/article/customize-the-ribbon-and-toolbars-in-office-for-mac-26911d4c-4971-41cd-b606-5fbc0318f499
Try deleting the Office cache to clear out the record of custom buttons and tabs. Details can be found here: Changes to add-in commands including ribbon button and menu items do not take effect.

VBA control over the ribbon?

I am in the process of creating a VBA add-in for Excel 2010, and I used the "Custom UI Editor for Microsoft Office" tool to create my own ribbon.
However, I would like to give the user the option to load my add-in without displaying the ribbon, or with different parts of the ribbon visible.
With menus, I know you can completely control them programmatically, but ribbons seem to work differently.
Is there a way in VBA to not load my customUI.xml ribbon tabs on startup?
Is there a way to remove items from (or add items to) these tabs at runtime?
here is a whole slew of help on this subject Awesome Ribbon Help. I think points 2 and 3 are of particular interest to you.

Resources