Version 6.0. The toolbar in access. When you go to export, in my case a
jobsheet. My colleague has the option to send as a pdf and email. We have
since found out that he has adobe 7.0 and i have 6.0.
I think in Access you'd have to write a function which you'd call from a
custom toolbar button. You'd first need to install a PDF printer driver. I
use CutePDF Writer available free from:
Set Application.Printer = Application.Printers("CutePDF Writer")
On Error Resume Next
RunCommand acCmdPrint
If Err <> 0 Then
If Err = USERCANCELLED Then
' do nothing
Else
MsgBox Err.Description
End If
End If
' set printer back to windows default
Set Application.Printer = Nothing
End Function
Just paste the function into any standard module in the databse . Then set
the On Action property of the custom button to:
There are some issues with allowing Adobe to install it's Toolbar in the
Access UI. Perhaps they will not affect you. Search GoogleGroups if you are
concerned.
--
HTH
Stephen Lebans http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
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.