assuming you have table in sheet1 like

  name status email  sham done a <koul.ash...@gmail.com>  rahim done
b<koul.ash...@gmail.com>
Abdul done c <koul.ash...@gmail.com>
nAME  IN cOL A
status in col B
email in Col C

also visit http://www.rondebruin.nl/tips.htm to know more about oulook
automation


whenever you change the status to done  it will send a email



*add this to sheet1*

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If Target.Cells.Count = 1 And Target.Column = 2 And UCase(Target.Value) =
UCase("Done") Then
send_email (Target.Offset(0, 1).Value)
End If
Application.EnableEvents = True
End Sub



*add this to module1 or new module*

Sub send_email(rec_add As String)
' refence choose outlook
Dim olApp As Outlook.Application
Dim olMail As MailItem
Set olApp = New Outlook.Application
Set olMail = olApp.CreateItem(olMailItem)
With olMail
.To = rec_add
.Subject = "xxxxxx"
.Body = "ffffffffffffffffffffff"
.Display '\ .send
End With
Set olApp = Nothing
Set olMail = Nothing
End Sub




On Mon, Jul 2, 2012 at 8:08 PM, ashwani agnihotri <
ashwani.agniho...@gmail.com> wrote:

> *Someone please help me on this its important*
>
>
> On Sun, Jul 1, 2012 at 10:17 PM, ashwani agnihotri <
> ashwani.agniho...@gmail.com> wrote:
>
>> i just want to send a mail with a subject plz check to the email address
>> in column C for the rows in column B which i mark as done.
>>
>> On Sun, Jul 1, 2012 at 10:02 PM, Rajan_Verma <rajanverma1...@gmail.com>wrote:
>>
>>> What do you want to send in mail??b ****
>>>
>>> ** **
>>>
>>> * *
>>>
>>> *Regards*
>>>
>>> *Rajan verma*
>>>
>>> *+91 7838100659 [IM-Gtalk]*
>>>
>>> ** **
>>>
>>> *From:* excel-macros@googlegroups.com [mailto:
>>> excel-macros@googlegroups.com] *On Behalf Of *ashwani agnihotri
>>> *Sent:* 01 July 2012 9:49
>>> *To:* excel-macros@googlegroups.com
>>> *Subject:* $$Excel-Macros$$ Query on Email via macro****
>>>
>>> ** **
>>>
>>> Hi,****
>>>
>>> ** **
>>>
>>> I have a query..suppose i put some thing in column B and i have mail id
>>> in column C i want to send the mail on that ID.****
>>>
>>> ** **
>>>
>>> In the example given below if i enter done in column B a mail should be
>>> send on address entered in column C****
>>>
>>> ** **
>>>
>>>            A            B                    C****
>>>
>>> ram****
>>>
>>>  ****
>>>
>>>  ****
>>>
>>>  ****
>>>
>>> sham****
>>>
>>> done****
>>>
>>> *sham@xyzmail*****
>>>
>>>  ****
>>>
>>> rahim****
>>>
>>> done****
>>>
>>> *rahim@xyzmail*****
>>>
>>>  ****
>>>
>>> Abdul****
>>>
>>>  ****
>>>
>>>  ****
>>>
>>>  ****
>>>
>>>  ****
>>>
>>> ** **
>>>
>>> Can someone help me with this??****
>>>
>>> ** **
>>>
>>> Regards****
>>>
>>> ** **
>>>
>>> Ashwani****
>>>
>>> --
>>> FORUM RULES (986+ members already BANNED for violation)
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>>
>>> 2) Don't post a question in the thread of another member.
>>>
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>>
>>> 4) Acknowledge the responses you receive, good or bad.
>>>
>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>> signatures are prohibited.
>>>
>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>> Forum owners and members are not responsible for any loss.
>>>
>>>
>>> ------------------------------------------------------------------------------------------------------
>>> To post to this group, send email to excel-macros@googlegroups.com
>>>
>>> To unsubscribe, send a blank email to
>>> excel-macros+unsubscr...@googlegroups.com****
>>>
>>> --
>>> FORUM RULES (986+ members already BANNED for violation)
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>>
>>> 2) Don't post a question in the thread of another member.
>>>
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>>
>>> 4) Acknowledge the responses you receive, good or bad.
>>>
>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>> signatures are prohibited.
>>>
>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>> Forum owners and members are not responsible for any loss.
>>>
>>>
>>> ------------------------------------------------------------------------------------------------------
>>> To post to this group, send email to excel-macros@googlegroups.com
>>>
>>> To unsubscribe, send a blank email to
>>> excel-macros+unsubscr...@googlegroups.com
>>>
>>
>>
>  --
> FORUM RULES (986+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> ------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com
>
> To unsubscribe, send a blank email to
> excel-macros+unsubscr...@googlegroups.com
>



-- 
*Regards*
* *
*Ashish Koul*
*http://www.excelvbamacros.com/*
*http://www.accessvbamacros.com/* <http://www.accessvbamacros.com/>


P Before printing, think about the environment.

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com

Reply via email to