Your review is Submitted Successfully. ×
4.1

Summary

Microsoft Outlook 2000
Kamalesh KS@Catchme_kamal
Jun 12, 2008 02:40 PM, 2080 Views
(Updated Jun 12, 2008)
Useful one for MS Outlook Users

To avoid sending an email without Subject in outlook, Here you go……


·        Open your outlook.


·        Press Alt+F11. This opens the Visual Basic editor.


·        Press Ctrl+R which in turn open Project-Project 1 (left side).


·        On the Left Pane, one can see "Project1", expand this to find "Microsoft Outlook Objects",    expand this to find "This Outlook Session".


·        Double click on "This Outlook Session ".  It will open up a code pane.


·        Copy and Paste the following code snippet in the 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$ = "Missing Subject!  Do you want to send anyway (Y/N)?"*


*If MsgBox(Prompt$, vbYesNo + vbQuestion + vbMsgBoxSetForeground, "Check for Subject") = vbNo Then*


*Cancel = True*


*End If*


*End If*


*End Sub                                                                                                                               *


Now whenever you send an email without subject, it will raise a pop-up to remind you.

(2)
Please fill in a comment to justify your rating for this review.
Post

Recommended Top Articles

Question & Answer