Home: Perl Programming Help: Advanced:
Getting an exception while reading excel file using Win::OLE from a current directory



rocky123
Novice

Feb 27, 2017, 8:59 PM


Views: 3877
Getting an exception while reading excel file using Win::OLE from a current directory

I am getting the below error when I try to open an excel file from the current directory however when I try to give the path of the directory then It's working fine. Can some one pls help on how to open an excel file from the current directory i.e. path Independent !!

Quote
I am getting the below error when I try to open an excel file from the current directory however when I try to give

the path of the directory then It's working fine. Can some one pls help on how to open an excel file from the current

directory i.e. path Independent !!



Code
I am getting the below error when I try to open an excel file from the current directory however when I try to give  

the path of the directory then It's working fine. Can some one pls help on how to open an excel file from the current

directory i.e. path Independent !!



FishMonger
Veteran / Moderator

Feb 28, 2017, 7:08 AM


Views: 3875
Re: [rocky123] Getting an exception while reading excel file using Win::OLE from a current directory

You need to show us your code.

Exactly what do you mean by "path Independent"?

Why are you posting a beginner level question in the Advanced area?


(This post was edited by FishMonger on Feb 28, 2017, 7:09 AM)