Help using Shell to open a file in Excel

Mark Schonewille m.schonewille at economy-x-talk.com
Sat Apr 21 05:27:50 EDT 2012


Hi Ian,

Why do you want to use the shell? There is a launch command, which lets you launch a document with an application:

launch "path/to/document.xls" with "path/to/application"

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Get the extIco2Png external for LiveCode here http://qery.us/1w6

On 21 apr 2012, at 11:19, Ian McKnight wrote:

> Hi
> 
> I have a stack which produces a set of tables which I want to export to
> excel.
> 
> What I would like:
> User clicks a button in LC and excel opens with the tables in place.
> 
> What I have:
> User clicks a button, saves the file to disc, double clicks the file on
> disc which opens in Excel
> 
> I can get the shell command to open excel on my machine but I don't know
> how to get LC to open excel with the file.
> 
> 
> Any help/advice would be greatly appreciated
> 
> -- 
> Regards
> 
> 
> Ian McKnight





More information about the use-livecode mailing list