Solved

attach a PDF document to an e-mail message

Posted on 2007-11-27
5
998 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 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