Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Excel moduleby dimmesdale (Friar) |
on Jul 24, 2002 at 18:59 UTC ( [id://184983]=note: print w/replies, xml ) | Need Help?? |
You can use Win32::OLE.
I have found this module rather helpful for working with Excel. If you want to find out how to do anything, just make an excel macro and look at it -- the VB can be translated to perl VERY easily.
If you know the Excel object model you can use that to help. Just take the . and make them method calls, i.e., a.b to a->b. The := assignments are mapped to hashes. So a.b c:=d to a->b( {c => d}). There're a lot of good resources you can find for this -- I enjoyed the OLE Browser (standard with active perl, I think it's <perl-path>/html/ole-browser UPDATE: Here's a quick start:
In Section
Seekers of Perl Wisdom
|
|