Trying to open a prn file in excel using the following code.
The BSfile.prn is created in my program.
It opens two Excel files.
1 is OK but opens a second copy in read only.
How to fix and get one working.
Thanks in advance.
Harvey
local cfile := ":\"
local cName := Curdir()
local cDri := curDrive()
cFile := cDri+cFile+cName
ShellExecute( 0,"Open","Excel", "BSfile.prn","cFile",9)The BSfile.prn is created in my program.
It opens two Excel files.
1 is OK but opens a second copy in read only.
How to fix and get one working.
Thanks in advance.
Harvey
Thank you
Harvey
Harvey