Solved

attach a PDF document to an e-mail message

Posted on 2007-11-27
5
994 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
ID: 20363700
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
ID: 20367606
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
ID: 20371742
0
 
LVL 1

Expert Comment

by:Computer101
ID: 21186184
Forced accept.

Computer101
EE Admin
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
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…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

929 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