in reply to WriteExcel to OLE?
As far as Perl documentation of OLE, ActivePerl-WinFAQ12.html should be available locally - if not, it's on the Active State website. perldoc Win32::OLE provides some useful information, too.
As far as converting VB syntax in the help file to perl, the basic rules are:
The first thing I do usually is record a macro that does the basics of what I want. Then, I use Win32::OLE::Const 'Microsoft Excel'; to import all Excel constants, so I can copy examples from the from macro I've recorded (or from the helpfile) without looking up the values of the constants. Then I can translate until it all works like I expect it.
All in all, controlling Excel is quirky at best, and ugly at its worst. I have some notes I've taken, but they aren't formatted in any useful way. If you want to see them, let me know.
Hope all this helps in some small way...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: WriteExcel to OLE?
by dimmesdale (Friar) on Jul 15, 2002 at 21:31 UTC | |
by jsprat (Curate) on Jul 15, 2002 at 22:14 UTC |