powerbuilde
Programmer
I have xls file
I want to open it using MsExcel
when I write
run("excel.exe "+ ls_path)
where ls_path is the path of the file
it does not work
I must write
run("D:\Program Files\Microsoft Office\OFFICE11\excel.exe "+ ls_path)
where D:\Program Files\Microsoft Office\OFFICE11\excel.exe
is the exact path(directory) of excel
my program may run on a computer that the excel is at another path
how can i run excel to open my file
thanks
I want to open it using MsExcel
when I write
run("excel.exe "+ ls_path)
where ls_path is the path of the file
it does not work
I must write
run("D:\Program Files\Microsoft Office\OFFICE11\excel.exe "+ ls_path)
where D:\Program Files\Microsoft Office\OFFICE11\excel.exe
is the exact path(directory) of excel
my program may run on a computer that the excel is at another path
how can i run excel to open my file
thanks