![]() |
Launch Acrobat from Excel?
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 |
Launch Acrobat from Excel?
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 |
Launch Acrobat from Excel?
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 |
All times are GMT +1. The time now is 10:35 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com