?
Solved

email from excel

Posted on 2014-02-17
1
Medium Priority
?
200 Views
Last Modified: 2014-02-22
Folks

How can I when a certain columns values get updated with the status "down" send an email out which copies that particular row's fields to a recipient

i.e.

item   url                        status
1      mysite.com            down
2      mypage.com            up

it should send an email to "Joe.blogs@yahoo.com"

saying subject "item 1 mysite is down"

only though when the status field gets updated(this is done by a maco(

all help will do



all help will do
0
Comment
Question by:rutgermons
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 8

Accepted Solution

by:
Naresh Patel earned 1500 total points
ID: 39866531
Mr.rutgermons,

I have already one file which perform this kind of process which is created by Rob so I don't want any credit or points. it is just sake of solution. Need any kind of modification then I cant as I am VBA coder.

here is short description of attached file there is 4 Columns.
A                            B                               C                               D
Item                      URL                           Status                       eMail
1                            mysite.com              Up                            --
2                            mypage.com            Up                            --
3                            myblog.com             Down                     myblog.com is Down

So in D column formula is like this
=IF(C4="Down",SendMail(B4),"--")

& you have to change some part in VBA Code.

SendBuy
    '<<<<< Change to suit user >>>>>>
    addressFrom = "xyz@gmail.com"
    addressTo = "abc@gmail.com"

SendMsg
        '<<<<< Change to suit user >>>>>>
        myServerUserName = "xyz@gmail.com"
        myServerPwd = "123"
        '==== end change zone ====
Thanks
Send-mail-V3.xlsm
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question