The following code will print the specified pdf file on the default printer
(will not even prompt for OK):
---
Private Declare Function ShellExecute Lib "shell32.dll" _
Alias "ShellExecuteA" ( _
ByVal hWnd As Long, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long
Sub PrintPDFFile()
ShellExecute 0, "print", "your_file_name.pdf", "", "", 1
End Sub
---
- Chirag
PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
"boro" <(E-Mail Removed)> wrote in message
news:19A0F70E-F118-4B56-BA1B-(E-Mail Removed)...
> On my PP2002, is there code to add to a presentation so that there is a
> link
> and if the user clicks the link it will open another file with the PRINT
> DIALOG BOX engaged so that their only next step is to click OK on the
> Print
> dialog box?
>
> I am stumped, your help would be appreciated.
>
> Thank you,
>