Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to turn off or disable no subject warning in Outlook?

When you are using Outlook 2010 and 2013, if you send email messages without subjects, a no subject prompt box will pop up every time for reminding. If you really don’t want to fill in the subject, the no subject warning will be a big trouble for you. For helping Outlook users to get rid of the no subject warning, we provide a skill in the following tutorial.

Turn off or disable no subject warning in Outlook

Kutools for Outlook: 100+ New Advanced Tools for Outlook.
Office Tab: Enable Tabbed Editing and Browsing in Office, Just Like Chrome, Firefox, IE 8/9/10.
Classic Menu: Bring Old Menus and Toolbars Back to Office 2007, 2010, 2013, 2016 and 2019.

arrow blue right bubbleTurn off or disable no subject warning in Outlook

In Outlook 2007, there is no warning if you sending an email message without subject. This function is enabled in Outlook 2010 and 2013. But there is no feature for you to turn off or disable this no subject warning. In this tutorial, we will show you VBA code for achieving this.

1. Please press Alt + F11 keys to open the Microsoft Visual Basic for Applications dialog box.

2. Expand the Project1 > Microsoft Outlook Objects by double-clicking them. And then double click the ThisOutlookSession to open the VbaProject.OTM dialog box.

3. Copy and paste the below VBA code into the dialog box.

VBA: turn off or disable no subject warning

Option Explicit
Private WithEvents oInspectors As Outlook.Inspectors
Private Sub Application_Startup()
    Set oInspectors = Outlook.Inspectors
End Sub
Private Sub oInspectors_NewInspector(ByVal Inspector As Inspector)
    Dim oItem As Object
    On Error GoTo ExitProc
    Set oItem = Inspector.CurrentItem
    Debug.Print oItem.Sent
    If oItem.Sent = False Then
        If oItem.Subject = "" Then oItem.Subject = " "
    End If
    Set oItem = Nothing
    Set Inspector = Nothing
End Sub
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
    On Error Resume Next
    Item.Subject = Trim(Item.Subject)
End Sub
Private Sub Application_Quit()
    Set oInspectors = Nothing
End Sub

4. Click Save button to save the VBA code.

5. Restart the Outlook application.

Then the VBA code can work. When you send a message without a subject, the no subject warning box will not display any more.

Note: Make sure that the Enable all macros box is checked (Please check it by clicking File > Options > Trust Center > Trust Center Settings, and in the Trust Center dialog, choose Macro Settings > Enable all macros), see screenshots:


Recommended Productivity Tools

shot kutools outlook kutools tab 1180x121
shot kutools outlook kutools plus tab 1180x121

Kutools for Outlook - More than 100 Advanced Functions for Outlook, Improve 70% Efficiency For you

  • Complicated and repeated operations can be done a one-time processing in seconds.
  • Forward multiple emails individually with one-click, and auto forward by rules.
  • Auto CC/BCC every sending email and easy for customizing rules, and auto reply without requiring exchange server.
  • Powerful junk emails filter, remove duplicate emails, reply with attachment, bunch of one-click operations, and so on...
  • 60-day unlimited free trial. 60-day money back guarantee. 2 years free upgrade and support. Buy once, use forever.
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Julie · 1 years ago
    this was driving me crazy. If I forward something to myself, if I send to a family member, if I just decide it doesn't warrant a subject, I don't want to have to add one! and I hate, hate hate when my email sits there unsent for an hour because I didn't notice it got hung up by the subject line Nazi.