CatBear said:
I hate when I am in a hurry to send and email, and forget to fill out the
subject line. Is there a way to have Outlook alert me if the subject line is
empty?
This simple macro should solve the problem:
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim oMail As MailItem
Set oMail = Item
If oMail Is Nothing Then Exit Sub
If (StrComp(oMail.Subject, "", vbTextCompare) = 0) Then
MsgBox "What about the subject?"
Cancel = True
End If
End Sub
You need to paste it into the ThisOutlookSession module. And ensure the
macro security level is set to the lowest level.
--
Best regards,
Michal [Microsoft Outlook MVP]
http://www.codetwo.com
Share Outlook on the net without Exchange!