Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Trying to launch Adobe Acrobat from a toolbar button in Excel and am having
difficulty with VBA code. Have tried: Sub OpenAcrobat() myfile = "C\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe" Shell "Start" & myfile End Sub but keep getting 'File not found' error Help gratefully appreciated Philip |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, the following worked for me:
Dim sAcrobat As String sAcrobat = "C:\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe" Shell sAcrobat I don't think you need: Start & HTH "Philip Reece-Heal" wrote: Trying to launch Adobe Acrobat from a toolbar button in Excel and am having difficulty with VBA code. Have tried: Sub OpenAcrobat() myfile = "C\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe" Shell "Start" & myfile End Sub but keep getting 'File not found' error Help gratefully appreciated Philip |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Brilliant
Many thanks for your trouble. Philip "quartz" wrote in message ... Hi, the following worked for me: Dim sAcrobat As String sAcrobat = "C:\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe" Shell sAcrobat I don't think you need: Start & HTH "Philip Reece-Heal" wrote: Trying to launch Adobe Acrobat from a toolbar button in Excel and am having difficulty with VBA code. Have tried: Sub OpenAcrobat() myfile = "C\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe" Shell "Start" & myfile End Sub but keep getting 'File not found' error Help gratefully appreciated Philip |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel and acrobat | Excel Discussion (Misc queries) | |||
How to launch one XLA from another on Excel launch | Excel Programming | |||
how to re install Adobe Acrobat in Excel? The adobe Acrobat work. | Excel Discussion (Misc queries) | |||
Macro launch - Button vs Manual launch , has different results. | Excel Programming | |||
vb Excel to PDF in Acrobat 6 - need help | Excel Programming |