Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending Email from an Excel Macro 2

Status
Not open for further replies.

randy700

Programmer
Sep 25, 2003
2,384
US
I have an Excel macro that I use to upload data to a mainframe. I'd like to add a final step that notifies the computer room that the data has been uploaded.

This code works in Access:

Code:
DoCmd.SendObject acSendNoObject, , , "me@domain.com", , , "Information Needed", "Testing email", False
Is there similar code that will work with Excel?
I looked at the .SendMail method, but it appears that is meant to send the workbook itself.


Randy
 
Hi,

Google in Tek-Tips on CdoSend for some code.

Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Have a look here:
thread705-1369407

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 

Got it working.
Thank you both for the help.


Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top