Can Outlook 2007/2010 be configured to not warn me if the subject is blank?
listed in answer
ANSWER:
- Open outlook
- Press ALT+F11. This will Open Visual basic editor
- Expand the Project1 from Left side project pane
- Expand Microsoft Office Outlook Objects
- Now you will see “ThisOutlookSession”. Double click on that.
- Now copy following code and paste the below code in the new window opened when you double click on “ThisOutlookSession”.
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim strSubject As String
strSubject = Item.Subject
If Len(strSubject) = 0 Then
Prompt$ = “Mail is without subject. Do you want send it anyway?”
If MsgBox(Prompt$, vbYesNo + vbQuestion + vbMsgBoxSetForeground, “Subject is empty”) = vbNo Then
Cancel = True
End If
End If
End Sub
- Save and Close the window. That is all.
Now you can try to send mail without subject from your outlook you will get this wonderful alert
Enjoy!!!
Kamleshkumar Gujarathi
by Kamleshkumar Gujarathi from http://superuser.com/questions/427771

New Comments