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


To the best of my knowledge those are it.

You would need to recreate those once and then include them in later
projects. It's a common thing for folks to do, make their own include
library with such.
In fact you might want to look at the Access2Base library in the
libreoffice distribution, I believe the author may have defined a number of
constants (the whole library recreated VBA functions for use in
LibreOffice), it may be that what you are looking for is already there you
would simply need to load it at runtime. Not to mention you might find some
others things there, coming from a VBA background, useful.

Best wishes,


On Sun, Jul 22, 2018 at 4:26 PM Johnny Rosenberg <>


I have done some searching and finally I found this at

” Basic predefines several constants. Among the most useful

   - True and False, for Boolean assignment statements
   - PI as a type Double numeric value”

I assume this is true for LibreOffice as well, but I can't find the rest of
the ”several constants”.

At work a use Excel (I don't really want to and it's full of bugs, but at
least I get paid…) and I wrote some macros in VBA. VBA has a lot of
predefined constants, for instance vbNewLine and a lot more, and I'm now
trying to find out what constants are available in LibreOffice Basic, since
LibreOffice is what I use exclusively at home, so I don't have to reinvent
the wheel.

So a link to a list of ALL predefined Basic constants would be very

Kind regards

Johnny Rosenberg

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
Privacy Policy:

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
Privacy Policy:


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.