Solved

attach a PDF document to an e-mail message

Posted on 2007-11-27
5
993 Views
Last Modified: 2008-03-22
What is the VBA code to create and attach a PDF document to an e-mail message.  I want to prompt for an email address (or check for an existing one with a record) first.
0
Comment
Question by:cagilbert
  • 2
5 Comments
 
LVL 46

Accepted Solution

by:
tbsgadi earned 500 total points
Comment Utility
Hi cagilbert,

Check out http://www.jephens.com/howtoemail.asp
Uncomment the line for the pdf attachment

Good Luck!

Gary
0
 

Author Comment

by:cagilbert
Comment Utility
But th 'Note' below that is part of the document referred to makes me think that I'm going to get the security prompt for each email.  Is that the case?  If so, it won't work.

Anyone know how to use the newer Office 2007 Add-in to create PDF's?  It seems like a different process.

"NOTE: The Outlook Security Patch (it comes with Office 2000 SR-2, OfficeXP or as a seperate "security" download) makes this exercise just this side of useless. Since virus writers use these same techniques to send e-mail without you knowing, Microsoft instead pops up a dialog box for 3-5 seconds PER ADDRESS so the virus writer can't take advantage of you. Of course, YOU can't take advantage of this power any longer, since MS thinks you're unable to protect yourself. *sigh* Perhaps one of these days I will write an article explaining how to do this using a freeware mail component..."
0
 
LVL 46

Expert Comment

by:tbsgadi
Comment Utility
0
 
LVL 1

Expert Comment

by:Computer101
Comment Utility
Forced accept.

Computer101
EE Admin
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now