How to Not Miss Subject Lines When Sending Emails in Outlook

Ads by Google

msoutlooklogo.pngHow do you feel when you receive an email without any subject line, especially from unknown contacts? I generally ignore them in the blink of an eye. Which means there is always a chance that I may miss an important message from a forgetful friend or acquaintance.

You cannot claim to be flawless on this front either, can you. If you are someone who sends a lot of emails each day, missing a subject line is all the more probable. I have too, many times and I really hate that. Lately, I have configured my Outlook properties to alert me (before a mail is sent) if the subject remains blank by any chance.

Would you like to do the same? Here is the detailed step by step process for Outlook users.

Steps to Configure Alert for Blank Subject Line in Outlook

I regret that MS Outlook does not show any default behavior to detect empty subject lines. I mean, they should have at least had an option to activate/deactivate it. Nevertheless, they allow users to create macros and that’s what we are going to do.

Step 1: Navigate to Tools -> Actions and click on Visual Basic Editor. Or simply hit Alt and F11 together. This would open the Visual Basic Editor for creating macros on MS Outlook.


Step 2: On the left pane of the editor, expand the option for Project1. Further, expand Microsoft Office Outlook and double click on ThisOutlookSession. As a result, a workspace would open on the right pane.


Ads by Google

Step 3: Now, copy and paste the code given below in the workspace area (as in the image). Then, save and close the window.

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim strSubject As String
strSubject = Item.Subject
If Len(strSubject) = 0 Then
Prompt$ = “Do you want to send without subject?”
If MsgBox(Prompt$, vbYesNo + vbQuestion + vbMsgBoxSetForeground, “Check for Subject”) = vbNo Then
Cancel = True
End If
End If
End Sub

Step 4: Close the MS Outlook client and reopen it. You will be prompted with a security message. Click on Enable Macros to complete your setup.


User Experience

You would definitely want to check if it works. So, go ahead and create a new email without a subject line. Hit on Send  and you would be immediately prompted with an alert to either go back and enter the subject line or continue without it.


Did not like the alert message? No issues, you can have your own message by changing the value against Prompt$ in the macro that you created.


Sending messages without a subject is not a good practice. Subject really is the zest of what the message contains and thus adds value to your emails. However, as humans we are prone to making mistakes. We generally miss the subject when we are in hurry. So, configure the above and ensure that you never miss one.

Get Guiding Tech articles delivered to your inbox.

We will never share your address. Unsubscribe at any time.

Post a Comment or Discuss at Guiding Tech Forums

Show archived comments (6)

Archived Comments

  1. Harsh says:

    Does it not work in 2007? If no, any alternate command for prompt?

  2. Prajkta says:

    I restarted the client but I wasnt asked to enable macros. What should I do?

    • Zoie says:

      are u using 2007, follow this and it will work,

      Tools -> Macro -> Security, change to “Warnings for all macros”.

  3. Shashank says:

    does not work with 2007. Getting an “Expected end of statement” error

    • Shashank says:

      This worked for me though…

      Private Sub Application_ItemSend(ByVal Item as Object, Cancel as Boolean)

      If Item.Subject = “” Then

      MsgBox “You forgot the subject.”

      Cancel = True

      End If

      End Sub

  4. I_say_meh says:

    In 2007 I needed to do two things:

    1.) Change the cutesy double-quotes to normal ones by using a text editor.

    2.) Tools -> Macro -> Security, change to “Warnings for all macros”.