Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Using Perl from Excel (Re: Using Win32::OLE and Excel - Tips and Tricks)

by Corion (Patriarch)
on Apr 11, 2011 at 07:36 UTC ( [id://898667]=note: print w/replies, xml ) Need Help??


in reply to Using Win32::OLE and Excel - Tips and Tricks

If you are caught in the mirror universe and need to use Perl from within Excel, I know two ways of doing that. The first way is a very easy way, and I've supplied information to Excel that way. You simply write a HTTP server in Perl that serves a page that mostly consists of a <TABLE>. That table can be easily accessed and refreshed from within Excel. No special setup of Excel is needed. You just need to link the data in the sheet to the external HTTP address.

The second way would be through XLLoop, an Excel Add-In that allows you to write Excel function in other languages, and even serve the requests from a central server. I haven't used this, but it could be a way to avoid Visual Basic as glue.

  • Comment on Using Perl from Excel (Re: Using Win32::OLE and Excel - Tips and Tricks)
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2024-04-23 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found