ribbonx

Word 2010: how to create a drop-down menu in qat (quick access toolbox)

别等时光非礼了梦想. 提交于 2020-01-04 13:42:16
问题 SHORT: I would like to add a drop-down menu to the quick access toolbar of any instance of Word 2010 via placing a customized .dotm-file in Word's startup folder. I fail in creating this customized .dotm-file . LONG: I've been writing a little "add-in" for Word 2010, first with VSTO, then figured out problems with the deployment, now with VBA. The add-in should simplify adding my company's logo and legal notice to documents (different combinations of logos & legal notices exist). In order to

Word 2010: how to create a drop-down menu in qat (quick access toolbox)

北城余情 提交于 2020-01-04 13:42:10
问题 SHORT: I would like to add a drop-down menu to the quick access toolbar of any instance of Word 2010 via placing a customized .dotm-file in Word's startup folder. I fail in creating this customized .dotm-file . LONG: I've been writing a little "add-in" for Word 2010, first with VSTO, then figured out problems with the deployment, now with VBA. The add-in should simplify adding my company's logo and legal notice to documents (different combinations of logos & legal notices exist). In order to

Word 2010: how to create a drop-down menu in qat (quick access toolbox)

…衆ロ難τιáo~ 提交于 2020-01-04 13:41:30
问题 SHORT: I would like to add a drop-down menu to the quick access toolbar of any instance of Word 2010 via placing a customized .dotm-file in Word's startup folder. I fail in creating this customized .dotm-file . LONG: I've been writing a little "add-in" for Word 2010, first with VSTO, then figured out problems with the deployment, now with VBA. The add-in should simplify adding my company's logo and legal notice to documents (different combinations of logos & legal notices exist). In order to

How to disable File button in MS-Word 2013?

你离开我真会死。 提交于 2020-01-01 19:40:31
问题 I want to disable File button. For example, I have this code. <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui"> <backstage> <button idMso="FileSave" visible="false"/> <button idMso="FileSaveAs" visible="false"/> <button idMso="FileOpen" visible="false"/> <button idMso="FileClose" visible="false"/> <button idMso="ApplicationOptionsDialog" visible="false"/> <button idMso="FileExit" visible="false"/> <button idMso="HistoryTab" visible="false"/> <button idMso="OfficeFeedback

Change Ribbon-menu properties after ribbon-load

扶醉桌前 提交于 2019-12-25 19:47:51
问题 I build a VSTO (made with the Ribbon Designer, not using Ribbon XML). Is it possible to change the properties (like label) of the Tab from Ribbon1.cs ? I even can't change the ribbon title with : private void Ribbon1_Load(object sender, RibbonUIEventArgs e) { myRibbon.Label = "something"; } 回答1: The way to do this dynamically is using a callback. In your ribbon XML: <tab id="myTabID" getLabel="myCallback"> .... </tab> In your ribbon code: public string myCallback(IRibbonControl control) {

show outlook ribbon near appointmentTab

南笙酒味 提交于 2019-12-25 06:23:17
问题 I created new outlook ribbon by ribbonXML I want to show this Ribbon 1. in Appointment\Meeting window 2. in CalendarItems near 'Appointment' tab , when appointment is selected from the calendar view I can display the two options but not together in one Ribbon. "contextualTabs" - displays the tab in calendarItems, "TabAddins" - displays the tab only in appointment\meeting window according to the C# code I want this Ribbon will be displayed in both of these cases.How can I do it? My Code:

Add tooltip to Excel Add-in Custom Ribbon UI XML

为君一笑 提交于 2019-12-19 02:09:13
问题 I am creating an Excel Add-In that has a custom Ribbon UI. I would like to add a tooltip for my buttons. What XML attributes can I use to set this? <button id="insertStuff" label="Insert Stuff" size="large" onAction="InsertStuff_EventHandler" imageMso="AddAccount" /> 回答1: You can use "screentip" and "supertip": <button id="insertStuff" screentip="Tooltip title" supertip="Long description" ... BTW, you should have autocomplete normally when you edit the ribbon XML in VS. If you don't make sure

Invalidate doesn't hide tabs

ⅰ亾dé卋堺 提交于 2019-12-12 00:57:57
问题 I am trying to push the limits of my understanding of the Fluent Ribbon/RibbonUI system in the Office 2007/2010 framework. Coupling that with my knowledge and understanding of XAML design for WPF/Silverlight, i wanted to see if i could dynamically show/hide the described Office Menu items below and it seems i have FUBAR'd something up. Please advise where i went wrong, or where i need to further develop: CustomUI.xml <group id="grpITOfficeMenu" label="Office Menu"> <button id="btnShowOffice"

Indirectly Populate Drop Down On Custom Ribbon

送分小仙女□ 提交于 2019-12-11 10:04:32
问题 As a follow up to this question: VBA - Populate Custom Ribbon Drop Down/List Box I need to be able to populate my second drop down based on the selection from my first drop down. Similar to the "indirect" data validation. I am struggling to "choose" the drop down in my vba. Code: XML: <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="LoadParameters"> <ribbon startFromScratch="false"> <tabs> <tab id="myCustomTab" label="Currencies"> <group id="displayCurrencies"