Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^4: Problems opening an Excel file...

by olivierp (Hermit)
on Feb 10, 2005 at 16:23 UTC ( #429800=note: print w/replies, xml ) Need Help??

in reply to Re^3: Problems opening an Excel file...
in thread Problems opening an Excel file...

c:\perl\excel\ "c:\test.xls"
Wild guess. Could \t be perchance translated to a tab, leading your script to open c:\   est.xls
Try  my $file = "c:\test.xls" in your snippet, and you should get something like this:
P:\>c:\temp\ "c:\temp\test.xls" OLE exception from "Microsoft Office Excel": 'c: emp est.xls' could not be found. Check the spelling of the + file name, and verify that the file location is correct. If you are trying to open the file from your list of most recently use +d files on the File menu, make sure that the file has not been renamed, +moved, or deleted. Win32::OLE(0.1702) error 0x800a03ec in METHOD/PROPERTYGET "Open" at c:\temp\ line 10

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://429800]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2017-07-23 15:52 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (347 votes). Check out past polls.