Emailing my spreadsheet?

  • Thread starter Thread starter andycharger
  • Start date Start date
A

andycharger

Hi,

I was wondering how I go about emailing my spreadsheet at the end of m
macro...

Basically, someone has to open outlook, do a new message and the
attach todays file using windows explorer to find it.
They also enter a TO address and then press send.

Is there a way to email it directly as part of the macro?

If so it would cut out the manual part at the end of my macro.

Any examples of code would be appreciated.

Thanks in advance

And
 
Thanks.
However, I notice that the system asks a lot of questions such a
choose your email client, etc....

Is there a way to just send the email automatically without huma
intervention?

I have used application.displayalerts = false before but not sure i
this is enough for emailing.


Code
-------------------

Sub Mail_workbook_1()
ActiveWorkbook.SendMail "(e-mail address removed)", _
"subject goes here"
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top