Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^7: Perl r/w Excel with OLE

by dasgar (Deacon)
on Jul 03, 2012 at 03:00 UTC ( #979569=note: print w/ replies, xml ) Need Help??


in reply to Re^6: Perl r/w Excel with OLE
in thread Perl r/w Excel with OLE

Hmmm....ok. Perhaps I misunderstood you when you said:

If I were to do simple macro type automation, then I'd record it within Excel or use the existing VBA and save myself the pain of OLE.

That sounded like you plan to use macros for your "automation". Whether you are manually opening Excel and running the macros or using Perl to call the macros, I personally believe that the issues that I pointed out are still relevant.

Also, by using VBA instead of Perl does not mean you escape from OLE. Any VBA code (external to Excel or inside Excel as macros) that does any Excel automation will be using OLE. The Win32::OLE module lets you access the OLE API from Perl. In other words, if you're automating Excel with VBA, macros, or Perl, you're going to use OLE in some way as far as I know.

If I'm still misunderstanding your point, my apologies.


Comment on Re^7: Perl r/w Excel with OLE

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://979569]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-10-31 04:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (214 votes), past polls