Always give absolute filenames to Excel. The "current directory" for an OLE object can very well differ from what your application thinks its current directory is. So if you change filereport.xls to become Y:\In\filereport.xls in your call to $excel->Workbooks->Add() it should work, or fail in a different way.
In reply to Re^5: cygwin, make, perl, win32::ole (excel) problem
by Corion
in thread cygwin, make, perl, win32::ole (excel) problem
by cugetare
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |