Forgot writing 'Subject' in a mail ??? Very Useful

2321 views 12 replies

Forgot to mention subject, while writing an official mail??????

Don’t worry……… just follow the simple steps mentioned below and see the result.
 
Here are the below steps
1.      Open your outlook
2.      Press Alt+F11. This opens 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 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
 
Save this and now close the VB Code editor and take a breath. From now on, this macro will make sure you do not make the mistake of sending a mail without subject.
Replies (12)

Friends, Since when i have applied this to my mail box. I am feeling that my emailing skills have been improved. Bcoz earlier i forgot to use subject in mail and it has reduced it.

Thanks for the idea.

can i use it for webmail also....

Thanx genius

No, This can be applicable only to outlook express only...Bcoz u cant change anything in web mail...outlook is stored in ur pc so u can change its properties.

One more thing, this doesn't mean that u cant apply this for any web mail service provdir mail id..u can...just configure ur yahoo or gmail or rediffmail mail id with outlook express in ur pc..that is very good..

apurva, is it applicable for all outllook version...bcoz i am using 2000..i am not sure it will work on it or not..

this is workable for all the versions of outlook....bcoz mircosoft has designed considering all older versions as well..and this scriptts is perfect...thanx

hi apurva if  i cant see this on outlookOn the Left Pane, one can see "Microsoft Outlook Objects", expand this. Now one can see the "ThisOutLookSession".

   Click on "ThisOutLookSession".
 
 

May be ur using very old outlook version..bcoz it is available in all the outlook version gr8ter than 2000.

ur upgrade ur veriosn then try..if still any problem let me know..

Cool yaar..do post threads like this..It was very useful.thanx a lot..  :)

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register  

Company
20 June 2026
Assistant Accounts Manager

Fintax Professionals

Gurgaon

CA Inter

View Details
Company
Featured 15 June 2026
Senior Auditor

N. Dhawan & Co

New Delhi

CA Inter

View Details
Company
ARTICLESHIP 09 June 2026
Article Trainee

Numbertree LLP

Mumbai

CA Inter

View Details
Company
ARTICLESHIP 27 June 2026
Article

SNCO

Mumbai

CA Inter

View Details
Company
ARTICLESHIP 24 June 2026
CA Article Trainee

Rahul Dang & Associates

Pune

CA Inter

View Details
Company
09 June 2026
Accounts Associate

S Madan and CO

New Delhi

Graduate (Any)

View Details
Company
29 June 2026
ACCOUNTANT

SANDEEP AASHISH & CO

Araria

B.Com

View Details
Company
24 June 2026
Senior Account (VA Client Operations)

Karbon Business

Bengaluru

CA Inter

View Details