Ahmad Jalil Qarshi was telling us:
Ahmad Jalil Qarshi nous racontait que :
> hi!
>
> when the user right click on document a context menu named "Text" is
> displayed. i want to disable the "Cut" menu item from there. is it
> possible.
Much easier is to create a macro called "EditCut". This will prevent any
cutting in any fashion (shortcut menu, tool bar, keyboard short cut, etc.)
Sub EditCut()
MsgBox "You are not allowed to cut."
End Sub

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org
Ahmad Jalil Qarshi - 21 Apr 2005 06:46 GMT
Thanks Jean!
ok you are right. but i don't want to display any message i just want to
Disable and Gray the menu item. isn't it possible.
Thanks in advance.
Ahmad Jalil Qarshi
> Ahmad Jalil Qarshi was telling us:
> Ahmad Jalil Qarshi nous racontait que :
[quoted text clipped - 20 lines]
> jmarcilREMOVE@CAPSsympatico.caTHISTOO
> Word MVP site: http://www.word.mvps.org
Jean-Guy Marcil - 21 Apr 2005 08:24 GMT
Ahmad Jalil Qarshi was telling us:
Ahmad Jalil Qarshi nous racontait que :
> Thanks Jean!
>
> ok you are right. but i don't want to display any message i just want
> to Disable and Gray the menu item. isn't it possible.
You can probably grey it with the "Enabled" property set to false.
If you disable it and do not warn users somehow, they will get frustrated
thinking that their computer is "broken". Whenever you change a regular
setting, it is only fair to let the user know what is going on.
Just my 2¢ on this...

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org