View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jim Rech Jim Rech is offline
external usenet poster
 
Posts: 2,718
Default Opening a PDF from Excel

Sure

--
Jim
"Ron de Bruin" wrote in message
...
| Hi Jim
|
| Can you look at
| Printing -- Page Number Continuity
|
| Thanks
|
|
| --
| Regards Ron de Bruin
| http://www.rondebruin.nl
|
|
| "Jim Rech" wrote in message
...
| Another way:
|
| 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 LaunchPDF()
| ShellExecute 0, "Open", "c:\File.pdf", "", "", 1
| End Sub
|
|
| --
| Jim
| wrote in message
| ups.com...
| | That works. Thanks.
| | The only annoyance is the warning about hyperlinks being harmful but
| | other than that success.
| |
| |
| | Scott
| |
|
|
|
|