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

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?


Randy
 
Have a look at .SendMail

For future reference, VBA/Macro-specific questions should be posted to forum707

[tt][blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]

Help us help you. Please read FAQ 181-2886 before posting.
 

I think SendMail sends the workbook itself.
Will re-post in the proper forum.

thanks


Randy
 
Hi,

Google in Tek-Tips on CdoSend.

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

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Ah, I got ya.

Include in your post over there what email program you use (OutLook, Lotus Notes, GroupWise, etc.).

[tt][blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]

Help us help you. Please read FAQ 181-2886 before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top