Subject line is a very important part of an email. Most people prioritize the emails based on the subject line. Unfortunately, most people don’t add a proper subject line to their email. It becomes even worse when they miss the subject line. Here is an outlook macro which will alert you when you try to send an email without a subject line. Here are the steps to implement the macro:
a. Open outlook and press Alt + F11. This will open the Visual Basic Editor
b. Add the following code
N.B.:Check the left side pan (This Outlook session) and dropdowns in Main window ( Application and Item Send ) are choosen...
Private Sub Application_ItemSend(ByVal Item As Object, ByVal Cancel As Boolean)
Dim strSubject As String
strSubject = Item.Subject
If Len(strSubject) = 0 Then
Prompt$ = "Subject is Empty. Are you sure you want to send the Mail?"
If MsgBox(Prompt$, vbYesNo + vbQuestion + vbMsgBoxSetForeground, " Subject") = vbNo Then
Cancel = True
End If
End If
End Sub
c. Save and Close the editor. Next time when you send an email without a subject line, the following alert message will be shown.
This is very useful for me… hope for you too….
Thank you.
No comments:
Post a Comment