View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.programming
Dick Kusleika[_4_] Dick Kusleika[_4_] is offline
external usenet poster
 
Posts: 595
Default Can I run an external program?

I don't know what would cause that error. It worked okay for me. Make sure
you have everything spelled right and you have double quotes around the
strings.

--
Dick Kusleika
Excel MVP
Daily Dose of Excel
www.dicks-blog.com

wrote:
Thanks, Dick. I tried the following:

Sub RunHelpFile()
Dim sPath As String
sPath = "C:\Program Files\Coax Designer II\"
ActiveWorkbook.FollowHyperlink sPath & "CoaxDesignerII.pdf"
End Sub

but I get a Variable not defined error with the "CoaxDesignerII" (of
the filename) highlighted.