Hi Robert,

Il venerdì 18 luglio 2008 14:02:31 Marcin Miłkowski ha scritto:
> Robert Vojta pisze:
> > On Thu, Jul 17, 2008 at 10:43 PM, Marcin Miłkowski <[EMAIL PROTECTED]> 
> > wrote:
> >> Unfortunately, Basic functions must be defined in the Standard module,
> >> otherwise they don't work. And therefore they cannot be packed in an
> >> extension.
> >
> > If you put your new function in My macros, it doesn't work. But when
> > you put your function in any library stored within your calc document,
> > it works.
>
> In other words, you cannot pack into the extension, right? It must be
> stored within the document. At least I couldn't find the way and the
> answer on the forum was that it's impossible.
>
> I'm asking because there is a nice Polish "numbers-to-words" macro in
> Basic that we would love to pack into an extension instead of making
> users to copy and paste macros...

You can deploy additional Calc functions making an Add-in. (a special kind of 
extension)
Here you can find an add-in with the italian "number-to-words" function
http://www.paolo-mantovani.org/downloads/PyInLettere/

It's written in Python (unfortunately it's not possible to write add-in's in 
StarBasic)


HTH
Paolo M



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to