Modify someone else's "ThisOutlookSession" code

R

Ray at

Hi group,

There are a number of people where I work that do not use subject lines 90%
of the time. This infuriates me, and I'd like to stick this code in their
"ThisOutlookSession" code. Does anyone know what file stores the VBA code
that is loaded in Outlook 2000 and/or 2002? I would like to do this
remotely by modifying this file or overwriting it, if that would work.

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
If Trim(Item.Subject) = "" Then
MsgBox "Please enter a subject line.", 16
Cancel = True
End If
End Sub

Thank you,

Ray at work
 
K

Ken Slovak - [MVP - Outlook]

You'd have to overwrite it and blow any macros they might have away.
The file is VBAProject.OTM
 

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