View Single Post
  #3   Report Post  
Posted to microsoft.public.word.newusers
Herb Tyson [MVP] Herb Tyson [MVP] is offline
external usenet poster
 
Posts: 2,936
Default Adding item to right-click menu Word 2007

There are a number of different right-click menus that can appear in Word,
depending on the context. The following macro should add Underline to the
most common right-click menu in Word 2007:

Sub AddUnderlineToMenu()
'
' AddUnderlineToMenu Macro
' Macro recorded 7/17/2008 by
'
CommandBars("Formatting").Controls(8).Move Bar:=CommandBars("Text"), _
Befo=6
End Sub

I recorded this macro in Word 2003, then ran it in Word 2007... and it did
indeed add Underline to the right-click menu, just before Font.

But, like Jacinthe suggests, pressing Ctrl+U might be a more ergonomic
solution.


--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com


"Gordon" wrote in message
...
I run the ribbon minimized and use the Right-click on selected text to
format. The Underline function doesn't appear on that selection - is there
a way to add it?