Ledocq-Boccart wrote:
>
> please disregard the previous message and replace it by this one!
> see 2 corrections shown hereafter between ***
>
> I am using OpenOffice.org version 2.0.3 on winXP . My problem is :
>
> on OpenOffice.org with macro Ctrl+M from OOoLilyPond (version 2.10)
>
> The Ctrl+M macro does not start anymore, even after new installation of
> all LilyPond, OOoLilypond and OpenOffice.org version 2.0.3 !
> I even have cleaned the registry (I use regularly Regseeker without
> trouble).
>
> OOoLilypond, OpenOffice.org and LilyPond are all installed in c:\Program
> Files\
> The library script.xlb and the ctrl+M have been carefully installed
> according to the instructio given with OOoLilyPond, excepted that the
> macro is refused to be installed in the Macro OpenOffice Library (the
> ***Append*** button is not activable when selecting the radio button
> "Macros
> OpenOffice"; I have installed it in My Macros file, wihch allows to
> activate the button ***"append"***.
> Customization of ctrl+M has been done according to instructions.
>
> What happens
> while opening a writer document with OpenOffice.org:
>
> typing Ctrl+M, Enter
> gives an error message of OpenOffice.org: "incorrect value or data
> type: index outside defined range"
>
> together with a sreen showing the basic instructions with one marked
> with ared arrow flag in the left column "ReDim Preserve sTemplate(i-1)
> As String".
>
> (see screenshot image in attachement)
>
> Could somebody help to find a solution to this?
>
> Thanks for answer
>
> Charlie
>
>
Hi. You can upload a file to http://www.mediafire.com/ and provide a link
to the list to enable access.
The error means that the number you get from the formula i-1 is not within
the index range of whatever is being referenced. In other words, suppose
the names are indexed 0 to 9, your formula may produce -1. You really need
to copy the whole macro to a text document and upload it for someone to look
at.
--
View this message in context:
http://www.nabble.com/corrective-to-Problem-while-using-OpenOffice.org-with--macro-OOoLilyPond-basic-script.xlb--see-attachemnt--tf3731755.html#a10459367
Sent from the openoffice - users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]