Outlook 2003 ignoring VBA command

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Using the Visual Basic Editor I inserted "Item.ShowCategoriesDialog" into
the Application_ItemSend in ThisOutlookSession, in order to always prompt me
to assign categories when sending an email.

This works fine on my work computer (Outlook 2002). I inserted the same
line on my notebook (Outlook 2003) and it has no effect whatsoever. The code
in ThisOutlookSession between my desktop & notebook is otherwise identical
(basically empty).

I reduced my Security level from High to Medium, but this made no difference.

Given that the VBA content is identical on the two computers, is it possible
I turned off VBA-execution on my notebook? I suspect there is a very easy
answer I am overlooking.

Thank you!
ckp
 
OK. It does work after I re-started Outlook. Now I just have to learn some
simple to bypass the "Security Warning/Enable Macros" warning on startup
without lowering my security settings to far.
 
If you have security set to Medium, you can bypass the enable macro warning
when Outlook loads by using selfcert.exe to make a personal,
non-distributable Digital Certificate to sign your VBA project with. See the
"VBAProject.otm" section of this link for more details:

Visual Basic and VBA Coding in Microsoft Outlook:
http://www.outlookcode.com/d/vb.htm
 
Back
Top