Perhaps one of your files is already open, but you can't see it due to Excel being invisible. Try adding this line just after GetActiveObject()||new():
$Excel->{'Visible'} = 1; # if you want to see what's going on
Even if this solves your problem, please post the original error message as McDarren requested; it will help other Monks find this thread in the future.
In reply to Re: Problem opening Excel file using Win32::OLE
by Util
in thread Problem opening Excel file using Win32::OLE
by johntio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |