Howto : Ensure to Include a Subject Line in Microsoft Outlook
Here is a small snippet that adds-on a functionality into your MS Outlook to remind you if there’s no subject line in place. It comes by default on some web emails (gmail).
1. Open Microsoft Outlook
2. Press Alt+F11 to open the Visual Basic editor
3. On the Left Pane you’ll see “Project1 ” under that “Microsoft Outlook Objects”, expand this. Now one can see the “ThisOutLookSession”.
4. Click on “ThisOutLookSession”.
5. Copy and Paste the following code in the right pane. (Code Pane)
Private Sub Application_ItemSend (ByVal Item As Object, 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, “Check for Subject”) = vbNo Then
End If
End If
End Sub
Hit save and close the VB code editor.
Now trying sending out a mail without a subject line, you will know the consequence :).
Related posts:
- Howto : Crash Internet Explorer
- Howto : Add Ads After First Post on your Wordpress Homepage
- How to Create Desktop Shortcuts on Windows XP that Microsoft Left Out!!
- How Not to Look Spammy
- Don’t Brushoff Privacy!
Filed Under: Archive Categories
