Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Ryan Jendoubi wrote:
LO macros would definitely be a good skill to learn eventually, even if it's
not at the top of my todo list at the moment. I haven't yet searched for any
tutorials or the like, but I'd be interested to hear if you have any
personal favourites which you think would suit someone who knows general
programming and just needs an intro to the syntax, conventions and
frameworks / objects involved in LO scripting.

That said, I've noticed there are at least four different languages one can
use. I don't know if any of them would allow writing scripts which are
broadly cross-compatible with other office suites (even if a little tweaking
is needed) but my preference would be for that, so I could help non-LO-using
friends and such.

The "standard" scripting language used in LO is StarBasic (as far as I
know), which is very much like VBA (visual basic for applications).  I
actually learned the language while writing VBA macros in MS Excel.
Unfortunately I don't know of a good manual/tutorial for either.

I personally dislike the Basic language, but it is useful sometimes.
I'm not enthusiastic about it, but I think sticking to Basic would be
the more "cross-compatible".  I've imported a few Excel files into LO,
and the VBA macros imported just fine (minor modifications are done to
the code when imported).  I have no idea about the other direction
though (LO file to Excel).

Regards
Stephan

-- 
Unsubscribe instructions: E-mail to users+help@global.libreoffice.org
In case of problems unsubscribing, write to postmaster@documentfoundation.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.