Skip to main content

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

Author: Siluvia Last Modified: 2014-05-30

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

Office Tab - Enable Tabbed Editing and Browsing in Microsoft Office, Making Work a Breeze
Unlock Kutools for Outlook's free version now and enjoy over 70 features with unlimited access forever
Boost your Outlook 2021 - 2010 or Outlook 365 with these advanced features. Enjoy 70+ powerful features and elevate your email experience!

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:

Best Office Productivity Tools

Breaking News: Kutools for Outlook Launches Free Version!

Experience the all-new Kutools for Outlook FREE version with 70+ incredible features, yours to use FOREVER! Click to download now!

🤖 Kutools AI : Instant pro emails with AI magic--one-click to genius replies, perfect tone, multilingual mastery. Transform emailing effortlessly! ...

📧 Email Automation: Auto Reply (Available for POP and IMAP)  /  Schedule Send Emails  /  Auto CC/BCC by Rules When Sending Email  /  Auto Forward (Advanced Rules)   /  Auto Add Greeting   /  Automatically Split Multi-Recipient Emails into Individual Messages ...

📨 Email Management: Recall Emails  /  Block Scam Emails by Subjects and Others  /  Delete Duplicate Emails  /  Advanced Search  /  Consolidate Folders ...

📁 Attachments ProBatch Save  /  Batch Detach  /  Batch Compress  /  Auto Save   /  Auto Detach  /  Auto Compress ...

🌟 Interface Magic: 😊More Pretty and Cool Emojis   /  Remind you when important emails come  /  Minimize Outlook Instead of Closing ...

👍 One-click Wonders: Reply All with Incoming Attachments  /   Anti-Phishing Emails  /  🕘Show Sender's Time Zone ...

👩🏼‍🤝‍👩🏻 Contacts & Calendar: Batch Add Contacts From Selected Emails  /  Split a Contact Group to Individual Groups  /  Remove Birthday Reminders ...

Instantly unlock Kutools for Outlook with a single click—permanently free. Don't wait, download now and boost your efficiency!

kutools for outlook features1 kutools for outlook features2



Comments (4)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Forgot to mention I do have a Microsoft 365 subscription as well.
Rated 5 out of 5
This comment was minimized by the moderator on the site
Hi, I use to check my hotmail. How can I fix it so that I don't encounter this error on there? Thanks! RamyJo
Rated 5 out of 5
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
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.
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations