Forgot to mention subject, while writing an official mail and feel bad later???????
Yes…. It's a concern for all…. A mail without a subject brings a bad impression on us.
To avoid this, Just follow the simple steps mentioned below and see the result .
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim strSubject As String
strSubject = Item.Subject
If Len(Trim(strSubject)) = 0 Then
Prompt$ = "Subject is Empty. Are you sure you want to send the Mail?"
If MsgBox(Prompt$, vbYesNo + vbQuestion + vbMsgBoxSetForeground, "Check for Subject") = vbNo Then
Cancel = True
End If
End If
End Sub
6. Now whenever u try to send a mail without subject, which will raise a pop-up to remind you
Yes…. It's a concern for all…. A mail without a subject brings a bad impression on us.
To avoid this, Just follow the simple steps mentioned below and see the result .
- Open your outlook
- Press Alt+F11. This opens the Visual Basic editor and then Press Ctrl+R which in turn open Project-Project 1 (left side)
- On the Left Pane, one can see "Microsoft Outlook Objects" or "Project1", expand this. Now one can see the "ThisOutLookSession".
- Double click on "ThisOutLookSession". It will open up a code pane.
- Copy and Paste the following code in the right pane. (Code Pane) and save it
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim strSubject As String
strSubject = Item.Subject
If Len(Trim(strSubject)) = 0 Then
Prompt$ = "Subject is Empty. Are you sure you want to send the Mail?"
If MsgBox(Prompt$, vbYesNo + vbQuestion + vbMsgBoxSetForeground, "Check for Subject") = vbNo Then
Cancel = True
End If
End If
End Sub
6. Now whenever u try to send a mail without subject, which will raise a pop-up to remind you
Powered by ScribeFire.

7 comments:
It's very useful.
Thanks :) !
This has plagued us in the past. Thank you for the tip. Now can you please convince Microsoft that it should be part of the base install? Maybe you can sell it to them.
Thanks again!!
Re: No Subject reminder in Outlook Mail
This would be a fantastic improvement, so I installed it according to your instructions.
It does not work for me, Outlook 2007 running under Vista. Messages are sent immediately, whether they have a subject or not.
Did I neglect to do something critical to make this work?
It does not work under outlook 2007 running under vista. Is there any solution?
Hi Karla,
I have Outlook on Vista and it works perfectly on it.
Please let me know the issue you faced.
Hi Abhay,
Did you try this for outlook 2007?
Karla
I also tried this with Vista and Outlook 2007. It did work but then I closed Outlook and then opened again. The code did not save. I noticed in the instructions "ThisOutLookSession".
Would I need to do this each time I opened Outlook??
Post a Comment