Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'd like to sometimes open pdf files with foxit reader, but want to keep the default reader Adobe Reader. At the moment I'm using this code: Sub OpenPdffile() Dim FSO Set FSO = CreateObject("Scripting.FileSystemObject") strHelpPath = "C:\pdffile.pdf" If FSO.FileExists(strHelpPath) Then StartDoc (strHelpPath) End If End Sub Function StartDoc(DocName As String) As Long Dim Scr_hDC As Long Scr_hDC = GetDesktopWindow() StartDoc = ShellExecute(Scr_hDC, "Open", DocName, _ "", "C:\", SW_SHOWNORMAL) End Function Is there anyone able (and willing ;-) ) to help me out? Poniente |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I get rid of Adobe Reader icon? | Excel Discussion (Misc queries) | |||
Opening a .pdf file with Adobe Reader 8.0 | Excel Programming | |||
Opening a pdf file with Adobe Reader | Excel Programming | |||
how i can take file from adobe reader and make it read with micr. | Excel Discussion (Misc queries) | |||
Identifying version of Adobe Reader | Excel Programming |