View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Steve Yandl Steve Yandl is offline
external usenet poster
 
Posts: 284
Default Alternative to ShellExecute

You will need to know something about the command line for launching your
'specific retail systems program'. Hopefully, there is a command line that
includes listing the path and file name for your script file as one of the
arguments. Then you use ShellExecute with the command line that starts your
retail systems program and feeds it your script.

Steve



wrote in message
...
Hi-
I have a situation where I wish to call a file and I don't think
ShellExecute is going to work.

Specifically, the file I want to call usually opens with Wordpad of
Notepad, but it is actually a set of scripts that are run by a
specific retail systems program.

So the question is, how do I specify the program I want to run when I
execute a call on the file?

Thanks