View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Justin[_12_] Justin[_12_] is offline
external usenet poster
 
Posts: 1
Default Shell to different app then open file within

Trying to open Reflections for HP and then a file within. I can open easily
office documents but when trying HP cannot open without errors. Here is my
first try:

Dim retval
retval = Shell("C:\Program Files\Reflection\r1win.exe " & _
"""C:\Program Files\Reflection\User\getups.r1w""",
vbMaximizedFocus)

Second attempt:

ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:= _
"c:\program files\reflection\user\getups.r1w"
Range("A1").Select
Selection.Hyperlinks(1).Follow NewWindow:=True, AddHistory:=True
Application.WindowState = xlNormal

Any help greatly appreciated.