Modify someone else's "ThisOutlookSession" code

  • Thread starter Thread starter Ray at
  • Start date Start date
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
 
You'd have to overwrite it and blow any macros they might have away.
The file is VBAProject.OTM
 
Back
Top