Adding Editor to Custom Ribbon

User avatar
Charles Kenyon
5StarLounger
Posts: 615
Joined: 10 Jan 2016, 15:56
Location: Madison, Wisconsin

Adding Editor to Custom Ribbon

Post by Charles Kenyon »

It has been years since I did any real Ribbon customization and I'm rusty.

I attempted to answer a question on the Microsoft site and have reached a wall.
https://answers.microsoft.com/en-us/mso ... a738ca225f

The poster there wants to add the Editor to a custom ribbon to meet user demands.

I've come up with:

Code: Select all

        <button idMso="SpellingAndGrammar"
            label="Editor"
            imageMso = "SpellingAndGrammar"
            size="large"
            />
And nothing even shows up.

If anyone else wants to jump in to that question with an answer it would be great or help me find what I'm doing wrong.

I got the idMso from adding the Editor to the QAT and looking at the Word.OfficeUI file.

User avatar
HansV
Administrator
Posts: 78478
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Adding Editor to Custom Ribbon

Post by HansV »

I don't have Microsoft 365, so I can't help you with this - sorry!
Best wishes,
Hans

User avatar
Charles Kenyon
5StarLounger
Posts: 615
Joined: 10 Jan 2016, 15:56
Location: Madison, Wisconsin

Re: Adding Editor to Custom Ribbon

Post by Charles Kenyon »

Thanks anyway.

User avatar
Charles Kenyon
5StarLounger
Posts: 615
Joined: 10 Jan 2016, 15:56
Location: Madison, Wisconsin

Re: Adding Editor to Custom Ribbon

Post by Charles Kenyon »

Jay Freedman found the answer. (No big surprise)
Here is his method and solution.
After adding a new group and adding the Editor to it, I used the Import/Export > Export all customizations button to create the file "Word Customizations.exportedUI". Opening that file in a text editor, I found this:

Code: Select all

<mso:control idQ="mso:WritingAssistanceCheckDocument" visible="true"/>
***
The first reply at https://stackoverflow.com/questions/305 ... n-word-2007 has some useful information about idQ versus idmso in customization.
This is the first time I've found any use for the Import/Export function!
Last edited by Charles Kenyon on 02 Feb 2023, 14:51, edited 1 time in total.

User avatar
HansV
Administrator
Posts: 78478
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Adding Editor to Custom Ribbon

Post by HansV »

Good to hear that!
Best wishes,
Hans