Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

email from excel

Posted on 2014-02-17
1
Medium Priority
?
204 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

597 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