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

Sending active workbook as email

Status
Not open for further replies.

bigalmcintyre

Technical User
Feb 7, 2005
3
GB
Hi,

I am trying to develop an application that will set up an email to send the active workbook. I am using the following code but it sends the email straight away, whereas I want to review the email and possible add to it before it is sent. Is there a way for me to set the email up but not send it?

My current code is:

Dim emailaddress As String
Range("B1").Select
emailaddress = Selection
ActiveWorkbook.SendMail Recipients:=emailaddress


End Sub

Cheers
Alan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top