One of my great regrets is that you cant use Perl as Excels macro language.
But you can...

Update: I'm posting the text of that link here, because I think its valuable to have in more than one place:

If you haven't got the Microsoft Script Control, download it from some +where in http://msdn.microsoft.com/scripting [microsoft.com]. Then in Excel, set Tools - References - Microsoft Script Control. In your code, you can now eval and execute Perl code, and use it in an +y Functions that you've declared as public - here's a trivial example +: Option Explicit Private sc As New ScriptControl Public Function uc(txt As String) As String sc.Language = "PerlScript" uc = sc.Eval("uc(" & txt & ")") End Function Now you can type =uc("hello") in your spreadsheet to call the above fu +nction. You can even use modules; I had an example using Lingua::EN::Numbers, +but I can't lay my hands on it at the moment. Hope this helps.

In reply to Re: Re: How some people live without Perl by runrig
in thread How some people live without Perl by John M. Dlugosz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.