Force a 'Subject' entry

  • Thread starter Thread starter Tommy Addison
  • Start date Start date
T

Tommy Addison

Hi,

Can I set Outlook 2002 up so that it requires a mandatory entry in the
Subject field.
I want it so that the email will not send until a Subject is specified.

Hope someone can help

Regarsd
Tommy Addison
 
There is no such feature, but you can build it in with a little Outlook
2000/2002 VBA code:

Private Sub Application_ItemSend _
(ByVal Item As Object, Cancel As Boolean)
If Item.Subject = "" Then
Cancel = True
MsgBox "Please fill in the subject before sending.", _
vbExclamation, "Missing Subject"
End If
End Sub
 
There is no such feature, but you can build it in with a little Outlook
2000/2002 VBA code:

Private Sub Application_ItemSend _
(ByVal Item As Object, Cancel As Boolean)
If Item.Subject = "" Then
Cancel = True
MsgBox "Please fill in the subject before sending.", _
vbExclamation, "Missing Subject"
End If
End Sub

Sue,

I've copied the above code. Could you please tell me what you do with
that file now?

Thanks!
--
Rich Cervenka
Chicago, Illinois, USA
Email Client: Microsoft Outlook 2002
News Client (Text): Forté Agent 2.0 www.forteinc.com
News Client (Binaries): News Rover 9.1.3 www.newsrover.com
 
Back
Top