Solved

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

Posted on 2004-08-25
3
160 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
[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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

717 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