in reply to Re: Re: Question about Win32::OLE and Excel
in thread Question about Win32::OLE and Excel

might try using zero based counting instead of 1. Also, the file will try to be opened inside the same directory that the script is running from. If this is not your intent you should specify a path along with the filename


Grygonos
  • Comment on Re: Re: Re: Question about Win32::OLE and Excel

Replies are listed 'Best First'.
(OT) Excel's working directory
by bmann (Priest) on Apr 20, 2004 at 18:30 UTC
    Also, the file will try to be opened inside the same directory that the script is running from. If this is not your intent you should specify a path along with the filename
    Good advice specifying the full path, but Excel doesn't care about your current working directory or where the script is located.

    Excel looks for the file in its "Default file location", usually My Documents. Check Tools->Options->General->"Default file location".