in reply to Calling Perl script from Excel
If you are expecting information back from your Perl script, there are some alternatives. You could try the recommendataions here, but as you can see its pretty long-winded and complicated code. This link supposedly provides a function that waits till the command is done, but even it doesn't get you the output to STDOUT or the exit code. You would have to make additional arrangements to write to and read from a named output file if you need output from your command.
I've never tried this script, so use at your own risk. Personally, I haven't had much luck getting Excel to wait and return results from external commands reliably.
Best, beth
|
|---|