Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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\TestRead.pl "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\openxl.pl "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\openxl.pl line 10
HTH
--
Olivier

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://429800]
help
Chatterbox?
[moritz]: wow, that's their idea of an "improved error message"
[moritz]: how about "This network is too large to enumerate all host addresses." or so?
[vrk]: Well, there's a call to notcontiguous() before the error, whose description is "counts the bit positions remaining in the mask when the rightmost '0's are removed"
[vrk]: Clear as mud!

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-04-25 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (449 votes). Check out past polls.