Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Registry Default File Location Prevents Shell JOHN Excel Programming 0 November 16th 04 04:34 PM
Shell command and exe file conundrum Greg Wilson[_4_] Excel Programming 2 September 4th 04 09:24 PM
Shell Command - Net Time (Cannot create text file) Alan Excel Programming 4 August 2nd 04 06:13 AM
Batch file in Shell Function Eric[_14_] Excel Programming 2 November 14th 03 11:08 PM
Copying a file with VBA (or with a SHELL command) Franck V. Excel Programming 1 September 15th 03 07:46 PM


All times are GMT +1. The time now is 10:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"