Solved

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

Posted on 2004-08-25
3
159 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 250 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

777 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