in reply to How to extract data from Excel by using Win32 OLE
Unlike Excel, Perl is case sensitive. Assuming that your code posted here is exactly as in your problem, case looks like being part of the issue. My code (again, assuming everything else is correct) would be $Sheet->Cells($row_num,$label_hash_ref->{'alt'})->Value;. Braces around Value are optional. If this isn't your problem, try finding out what those cell co-ordinates are and querying that cell explicitly. I suspect you're not giving us all the information we need. I've never seen a pure integer with a leading zero returned from Win32::OLE in the way you describe.
Regards,
John Davies
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to extract data from Excel by using Win32 OLE
by plagent (Novice) on Dec 16, 2013 at 06:09 UTC | |
by davies (Prior) on Dec 18, 2013 at 15:32 UTC |
In Section
Seekers of Perl Wisdom