ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   print the pdf file (https://www.excelbanter.com/excel-programming/432696-print-pdf-file.html)

Ake

print the pdf file
 
I have the following codes that opens up my pdf file. What my question is
what should I add to these codes to get the pdf file printed?

Sub PrintPDF()
Dim strPSFile As String, strPDFFile As String
strFolder = "C:\Documents and Settings\KRP\Desktop\"
strPDFFile = strFolder & "075942LA.PDF"
ActiveWorkbook.FollowHyperlink Address:=strPDFFile, NewWindow:=False
End Sub


Thanks,


All times are GMT +1. The time now is 09:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com