Hello all,
I have a MapBasic app writing out a comma delimited file, then  launching 
Excel, where a macro opens and formats the data.
 
Here is the mb code:
sReportXLS = "myreport.xls"
sRunline = "C:\Program Files\Microsoft Office\Office11\Excel /e "  +  
chr$(34)  + sReportXLS  + chr$(34) 
Run Program  sRunline
 
My, question: is it possible to obtain the machine's Excel.exe path, rather  
than having it hardwired?  I want to be able to handle unexpected Excel  
setups.
 
Thanks,
 
Mike

Reply via email to