Blank Subject Box Warning?

C

Charlie Allnut

Is there a setting to warn me that the "Subject" box is blank in an outgoing
Outlook 2003 email?

Charlie
 
S

Sue Mosher [MVP-Outlook]

No, but you can write VBA code for the Application_ItemSend event handler, e.g.:

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

For a more elaborate version that also checks for expected attachments, see
http://www.outlookcode.com/codedetail.aspx?id=553

And see http://outlookcode.com/article.aspx?id=49 if you're just getting started with Outlook VBA.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
F

F.H. Muffman

Charlie Allnut said:
Is there a setting to warn me that the "Subject" box is blank in an
outgoing Outlook 2003 email?

Nope. Nothing in the program. VBA Code could be written to do it, however,
if you're so inclined to do some programming.
 
C

Charlie Allnut

Charlie Allnut said:
Is there a setting to warn me that the "Subject" box is blank in an
outgoing
Outlook 2003 email?

Charlie

No, but you can write VBA code for the Application_ItemSend event handler,
e.g.:

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

For a more elaborate version that also checks for expected attachments, see
http://www.outlookcode.com/codedetail.aspx?id=553

And see http://outlookcode.com/article.aspx?id=49 if you're just getting
started with Outlook VBA.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Regrettably I'm not a programmer-- so I guess I'll have to do without and
occasionally look like a boob to my clients when I fire one off without a
Subject...

Charlie
 

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