FW: If u don't want to miss the subject line in outlook accidentally....follow this....!!
Hi all,
Sometimes we all by mistake forget to put subject in mails which we send.
So if you want to avoid such mistakes just follow the few steps given below and after that whenever you send a mail without subject a pop up window ask for your confirmation.
Steps
1. Open your outlook
2. Press Alt+F11. This open the Visual Basic editor
3. On the Left Pane, one can see "Microsoft Outlook Objects", expand this. Now one can see the " ThisOutLookSession".
4. Click on "ThisOutLookSession".
5. Copy and Paste the following code in the right pane.(Code Pane)
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim strSubject As String
strSubject = Item.Subject
If Len(strSubject) = 0 Then
Prompt$ = "Subject line is missing , Please take care.."
If MsgBox(Prompt$, vbYesNo + vbQuestion + vbMsgBoxSetForeground, "Check for Subject") = vbNo Then
Cancel = True
End If
End If
End Sub
6. Save this and Now close the VB Code editor.
From now on wards , this macro will make sure that you wont make the mistake in sending a mail without subject
Tested this and it is working... Would be certainly helpful...

0 Comments:
Post a Comment
<< Home