Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

print attachment  with vba code

Posted on 2008-10-27
4
Medium Priority
?
789 Views
Last Modified: 2013-11-27
In access 2007 it is possible to very easy save an attachment
but how can you print that attachment  (pdf)  , have heard that  pdf is intregrated in access 2007
can't seem to find anything about this , anywhere
anyone have any ideas
0
Comment
Question by:darkprowler
[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
  • 2
4 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 22812149
The pdf integration in A2007 allows you to print TO a pdf, not FROM a pdf.
0
 

Author Comment

by:darkprowler
ID: 22812933
okay   not good
what about printing attachment if you have adobe acrobat installed , will that do any difference
0
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 22813950
You can do..
Dim x
x = Shell("c:\program files\adobe\reader 9.0\reader\AcroRd32.exe /t c:\folder\file.pdf")

(Obviously you must use your own path for the acrobat reader.)
0
 

Author Comment

by:darkprowler
ID: 22814322
hi peter
well yes this works fine , just hoped there was a way not to  use shell

thanks
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

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.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

688 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