Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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]
[marto]: yes, not reading the errors displayed has been a cause of this type of report in the past
[nysus]: Ambrus, ah. I think that was the problem. I'll try. Thanks!
[davies]: Ambrus: you've missed it by a couple of weeks, but consider next year's London Perl Workshop.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2017-12-15 11:37 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (431 votes). Check out past polls.