R
rick
I used this code to add "Underline" to the context menu in MS Word 2007:
CommandBars("Text").Controls.Add Type:=msoControlButton, ID:=115,
Before:=2
It worked a treat. Only problem: I ran it about 7 times before I realised
it was adding the control to my Normal template and not the document I had
opened.
Now I have 6 additional instances of the control whenever I open a new
document, and I'd like to get rid of them. There doesn't seem to be an
equivalent "Delete" or "Remove" function, and don't just want to hide them
which seems to be what Help suggests.
Thanks in advance.
Rick.
CommandBars("Text").Controls.Add Type:=msoControlButton, ID:=115,
Before:=2
It worked a treat. Only problem: I ran it about 7 times before I realised
it was adding the control to my Normal template and not the document I had
opened.
Now I have 6 additional instances of the control whenever I open a new
document, and I'd like to get rid of them. There doesn't seem to be an
equivalent "Delete" or "Remove" function, and don't just want to hide them
which seems to be what Help suggests.
Thanks in advance.
Rick.