Help using Shell to open a file in Excel

Peter M. Brigham, MD pmbrig at gmail.com
Sat Apr 21 08:28:59 EDT 2012


On Apr 21, 2012, at 5:19 AM, 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.

I don't think you need a shell command -- try
   launch "/path/to/file/test.xls"
after saving your file.

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig







More information about the use-livecode mailing list