Improve company productivity with a Business Account.Sign Up

x
?
Solved

VBA Code to send a simple message that an Update has been added.

Posted on 2004-08-25
3
Medium Priority
?
166 Views
Last Modified: 2010-05-02
Can anyone help me with the code to send a message to three users that an update has been made to an excel sheet.  All that the email has to contain is:
the three users
Sub.  "and update has been made"
There does not have to be an attachment or anything in the message body.  Thanks!
0
Comment
Question by:wiggs1006
  • 3
3 Comments
 
LVL 8

Accepted Solution

by:
mladenovicz earned 1000 total points
ID: 11893962
dim email
set email = createobject("cdo.message")
with email
.to = "someone@domain.com"
.subject = "something"
.from = "someone@domain.com"
.send
end with
0
 
LVL 8

Expert Comment

by:mladenovicz
ID: 11893971
dim email
set email = createobject("cdo.message")
with email
.to = "someone@domain.com; someone1@domain.com; someone2@domain.com"
.subject = "something"
.from = "someone@domain.com"
.send
end with
0
 
LVL 8

Expert Comment

by:mladenovicz
ID: 11893983
Or if you don't want to use CDO, try this
http://www.developersdomain.com/vb/articles/smtp.htm
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

608 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