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.
- Auto CC/BCC by rules when sending email; Auto Forward Multiple Emails by rules; Auto Reply without exchange server, and more automatic features...
- BCC Warning - show message when you try to reply all if your mail address is in the BCC list; Remind When Missing Attachments, and more remind features...
- Reply (All) With All Attachments in the mail conversation; Reply Many Emails at once; Auto Add Greeting when reply; Auto Add Date&Time into subject...
- Attachment Tools: Auto Detach, Compress All, Rename All, Auto Save All... Quick Report, Count Selected Mails, Remove Duplicate Mails and Contacts...
- More than 100 advanced features will solve most of your problems in Outlook 2010-2019 and 365. Full features 60-day free trial.
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 ExitProc: 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:
- Auto CC/BCC by rules when sending email; Auto Forward Multiple Emails by custom; Auto Reply without exchange server, and more automatic features...
- Reply (All) With All Attachments in the mail conversation; Reply Many Emails in seconds; Auto Add Greeting when reply; Add Date into subject...
- Attachment Tools: Manage All Attachments in All Mails, Auto Detach, Compress All, Rename All, Save All... Quick Report, Count Selected Mails...
- Powerful Junk Emails by custom; Remove Duplicate Mails and Contacts... Enable you to do smarter, faster and better in Outlook.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 7 months agoOh my GOSH! THANK YOU!
- To post as a guest, your comment is unpublished.· 2 years agoTHANK YOU SO MUCH
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.