Hiding default Outlook menus when displaying custom forms

  • Thread starter Thread starter Long Nguyen
  • Start date Start date
L

Long Nguyen

(outlook 20002)
I have designed a custom Outlook and many users use it. One thing is when
the form is opened for composing or an existing form is opened for viewing
the Outlook drop-down menus (File,Edit, View, Insert, Form, Tools etc) are
still there. Some of these contain "undesired" options. For example the Form
menu contains "Design this form" option, but I do not want user to be able
to design the form that they are filling out or viewing. Is there a way to
hide these menus when a form is opened?

(A MS Technet article shows how to hide the Form/View Code option through
vbscript. I tried this and it hided the option, but also hided it in form
design mode. I did press he Shift key when opening the design mode as
suggested in the article but it did not work.)

Long.
 
Sounds like you already know the solution (a script like the one you
described) but just need the finishing touch -- code in the Item_Close event
handler to restore the menus to their normal appearance.
 
Thanks Sue for the info.
So the way to do is programming through vbscript.

Thanks.
Long
 
Yes, VBScript is the programming language used for Outlook custom forms.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top