in reply to Excel and OLE
use File::Spec; my $excelfile = File::Spec->rel2abs($ARGV[0]);
Excel will be able to find and open the file. Take out the 'Quit' parameter to new and get rid of the while (1){}, and Excel will stay open so user can work with the spreadsheet.
As far as returning control to the perl script after the user is done with Excel, you are on your own ;) It will be difficult to tell when the user is done with the spreadsheet, especially if Excel is already open.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Excel and OLE
by Silicon Cactus (Scribe) on Sep 18, 2002 at 21:00 UTC | |
by jsprat (Curate) on Sep 19, 2002 at 01:51 UTC |