Subscribe to Windows IT Pro
November 26, 2002 12:00 AM

Outlook: Reminding Users to Include Subject Lines

Windows IT Pro
InstantDoc ID #27217
Rating: (6)
Downloads
27217.zip

How do I enable the feature that warns me if I try to send an email message without a subject line? Does such a feature exist?

The feature you describe doesn't exist, but you can use Outlook 2002 or Outlook 2000 Visual Basic for Applications (VBA) code to create it. Take the code that Listing 1 shows and place it in Outlook VBA's built-in ThisOutlookSession module. The Application_ItemSend event handler will display an alert if you try to send a message with a blank subject line.

Related Content:

ARTICLE TOOLS

Comments
  • Neeraj
    3 years ago
    Jul 14, 2009

    Those who are not able to execute the code in second attampt try downgrading the Macro security level to medium or low. Do not forget to restart outlook after changing the security level. It should work for you.

  • Roly
    4 years ago
    Aug 06, 2008

    oopss..I just wrote that very hepful..But I am also facing the problem like some other readers...Now it is not working...it worked only for the first two trials.

    After that i logged out of O0utlook. I again logged in and tried to send a mail without a subject...It did not work..I again copy pasted the code...still it did not work???

  • Roly
    4 years ago
    Aug 06, 2008

    This is very helpful. Now, I will never miss the subject line. Thanks.

    But can we display the message box in the Mail Window rather than in the Outlook Application. In the soultion provided by you, when we click on the send button then the mail does not go if no suject line. But, the message box does not appear. We can see the message box on going to the main Outlook window.

    Thanks.

  • Elizabeth
    4 years ago
    May 28, 2008

    Added macro to my Outlook and did not work at all.

  • Stephen
    7 years ago
    Nov 14, 2005

    I'm looking at doing the samef enforcing the Subject line. Where do I put the script?

    Steve K

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.