Create email with body and doc attachment

M

ms

I am having alot of problems with finshing this task...i have read alot
of post and i cant seem to find the one that will work for me and i
dont know VBA enough to manipulate it enough...

I am trying to create a VBA script for sending my resume.....I go to a
job site, see a email link for a job i would like to apply to and i
click the link, an outlook email opens up with the To: address fill out
and the subject as the job title (i dont need to worry about these
steps)

I want to create a keyboard command to attach "myresume.doc" file and
to enter text into the body of the email.

everything i find is more complex then this and i cant seem to break it
down for my use.. anyhelp? thanks.
 
M

Michael Bauer [MVP - Outlook]

Simply add this to your VBA project:

Public Sub MyResume()
Dim Mail as Outlook.MailItem

Set Mail=Application.ActiveInspcetor.CurrentItem
Mail.BOdy="your text"
Mail.Attachments.Add "d:\your filedoc"
End Sub

Then open an e-mail and customize the toolbar, add a button that calls the
macro.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?productid=300120654&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)

Am 17 Jan 2007 17:52:03 -0800 schrieb ms:
 

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

Top