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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send Email Without Workbook in Excel 1

Status
Not open for further replies.

AirZebra

Technical User
Apr 23, 2002
31
0
0
FR
Hi all,

I am using the following code to send a workbook through email (Eudora). What I would like to do is send an email message without the workbook if there is no data in the workbook. Does anyone have any ideas?

Code:
ActiveWorkbook.SendMail Recipients:="email.address@customer.gov.uk", Subject:="Cashbox Level Warnings"
AppActivate ("Eudora by Qualcomm")[\code]

I can test to see whether the workbook is blank, but does anyone know how to send a message without the workbook?

Regards,

Alan
 
try ActiveWorkbook.FollowHyperlink Address:="mailto:someone@hotmail.com", _ NewWindow:=False, AddHistory:=True
 
Thanks guys,

Tranpkp, That works fine, and I will use it as soon as I can get the subject and message to appear.

Chopsaki, sorry I couldn't find any reference to either newmail or cdonts in the help files.

Regards,

Alan
 
Glad I could help! Tranpkp
************************************
- Let me know if this helped/worked!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top