Making "Subject:" required

  • Thread starter Thread starter Mark Wallace
  • Start date Start date
M

Mark Wallace

Is there a way to make the "Subject:" field of a new
message required in Outlook 2002, or at least display a
warning when one attempts to send a message without
entering something there?

TIA,

Mark
 
It's a pretty trivial bit of VBA code:

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
If Item.Subject = "" Then
Cancel = True
MsgBox "You forgot the subject again."
End If
End Sub

Put it in the ThisOutlookSession module and make sure macro security isn't set to High.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Back
Top