how can I customize right-click menu in MS Word 2010

Hello, I know there has been a site that gave a general example, but more concrete, how can I customize the right click menu for MS Word 2010? Is there an easy way or only a difficult one with macro's for every icon I want to add or delete? I was thinking about adding text (for table of contents) and update table of contents, but I could think of more.
Would it be possible for people like us who are 'scared' of programming to give a step by step approach?
Regards
Martijn van Heeringen
Answer
Answer
I expect Greg Maxey will come along to help out here, but for an introduction you can read his page at http://gregmaxey.mvps.org/word_tip_pages/customize_shortcut_menu.html.

If the actions you want to add to the menu are just built-in ones, then you don't have to write macros to carry out those actions -- you can put in items using the built-in ID numbers as Greg does for "Bookmark" and "New Comment". But you will need at least the one macro (in Greg's example, Sub BuildControls) to insert those items into the right-click menu.

There's another complication that Greg's page mentions but doesn't cover in any detail: Word has lots of different right-click menus. The one he uses, the "Text" menu, is the one you get when you right-click plain ordinary text. But there are other ones for when you right-click a table, or a picture, or any one of a dozen or more other things that might be in a document.

If you're 'scared' of programming (sorry, not something that I've ever experienced), it might be best to describe in detail what you want to do, and get someone else to write the macro for you -- and maybe explain how it works so you can tweak it if necessary.
_____________________________
https://jay-freedman.info

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Answer
Answer
Yes it is trivially easy to add and delete macros.

http://word.tips.net/T000986_Deleting_a_Macro.html

You won't damage settings by adding or removing macros. At worst you will temporarily override a command if you name your macro with the underlying command name.

Here are some links that should help with the Icon IDs

http://www.istartedsomething.com/20060916/756-icons-office-2007/ - this page has a graphic with 756 icons extracted from Office 2007. Includes link to instructions on how to do extract

 

RibbonX Updates for B2TR

https://blogs.msdn.com/b/jensenh/archive/2006/09/15/755336.aspx?Redirected=true – How to extract MSO ID’s and download 2007 Icons Gallery.



Images are in the ImageMso 0 and ImageMso 1 commands at the bottom of the File Tab menu.

Source: https://www.microsoft.com/download/en/details.aspx?id=21103

 

 

Also take a look at this link:

http://soltechs.net/CustomUI/imageMso01.asp

 

2007 Office System Icons Gallery spreadsheet - https://www.microsoft.com/download/en/details.aspx?DisplayLang=en&id=11675


.
*****
.
As computer scientists we are trained to communicate with the dumbest things in the world – computers –
so you’d think we’d be able to communicate quite well with people.
Prof. Doug Fisher

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated February 16, 2024 Views 12,146 Applies to: