How to disable "Cut" menu item from "Text" Menu of Word!

A

Ahmad Jalil Qarshi

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.

Thanks

Ahmad Jalil Qarshi
 
J

Jean-Guy Marcil

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


--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
A

Ahmad Jalil Qarshi

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
 
J

Jean-Guy Marcil

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...

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top