Jun 01

This is a concern for all of us. A mail with a blank subject line brings a bad impression. One of my earlier posts mentioned about Self Destructing mails, but what do you do if you only forgot the subject line.

Just follow the below steps and you’ll never ever forget to put the subject.

Note: This only works if you are using Outlook.

  • Open your outlook
  • Open the Visual Basic editor by press Alt+F11
  • On the Left Pane, you will see “Microsoft Outlook Objects” or “Project1″, expand this. Now you will see the “ThisOutLookSession”
  • Double click on “ThisOutLookSession”. It will open up a code pane
  • Copy and Paste the following code in the right pane

  • Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)

    Dim strSubject As String

    strSubject = Item.Subject

    If Len(Trim(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

    Cancel = True

    End If

    End If

    End Sub

  • Save this and now close the VB Code editor and take a breath

Going forward, this macro will make sure you do not make the mistake of sending a mail without a subject.

Related Posts with Thumbnails

One Ping to “Forgot the subject in an official mail?”

  1. easy weight loss Says:

    Health Weight Loss Diet…

    How To Fast Easy Health Weight Loss and good Ideas for Diet,Let’s Go Start Losing Weight Now!…


2 Responses to “Forgot the subject in an official mail?”

  1. 1. Manan Says:

    What does this do exactly, does it give a pop-up when you hit send? Also not on Windows right now, so can’t check, does this work on Outlook 2007 as well?

  2. 2. Ritesh Says:

    @Manan – I think it doesnt work with Outlook 2007 – Havent tried it yet.

Leave a Reply

Security Code:

Subscribe without commenting