Information
You can set the locale used for controlling the formatting numbers, dates and currencies in LibreOffice Basic in LibreOffice - PreferencesTools - Options - Language Settings - Languages. In Basic format codes, the decimal point (.) is always used as placeholder for the decimal separator defined in your locale and will be replaced by the corresponding character.
The same applies to the locale settings for date, time and currency formats. The Basic format code will be interpreted and displayed according to your locale setting.
The color values of the 16 basic colors are as follows:
Color Value |
Color Name |
0 |
Black |
128 |
Blue |
32768 |
Green |
32896 |
Cyan |
8388608 |
Red |
8388736 |
Magenta |
8421376 |
Yellow |
8421504 |
White |
12632256 |
Gray |
255 |
Light blue |
65280 |
Light green |
65535 |
Light cyan |
16711680 |
Light red |
16711935 |
Light magenta |
16776960 |
Light yellow |
16777215 |
Transparent white |
Open
and select container.This library must be loaded before execution. Place the following statement before the first macro in your module:

This function or constant is enabled with the statement Option VBASupport 1 placed before the executable program code in a module.
Syntax:
Return value:
Parameters:
Example:
Error codes:
4 Incorrect entry; please retry
18 Process interrupted by user
35 Sub-procedure or function procedure not defined
52 Invalid file name or file number
74 Renaming on different drives impossible
280 DDE ĂŒhenduse vastuse ootamine
282 Ăkski rakendus ei vastanud DDE ĂŒhenduse algatamisele
283 Liiga palju rakendusi vastas DDE ĂŒhenduse algatamisele
285 VÀline rakendus ei saa tÀita DDE operatsiooni
286 Aegumine DDE vastuse ootamisel
287 Kasutaja vajutas DDE operatsiooni ajal nuppu ESCAPE
288 VÀline rakendus on hÔivatud
289 DDE operatsioon ilma andmeteta
291 VÀlise rakenduse töö katkestati
292 DDE ĂŒhendus on katkestatud vĂ”i muudetud
293 DDE meetod kutsuti vÀlja ilma avatud kanalita
294 Sobimatu DDE lingi vorming
296 Lingi asetamine on juba sooritatud
297 Vigase lingi teema tĂ”ttu pole vĂ”imalik mÀÀrata lingi reĆŸiimi
323 Module cannot be loaded; invalid format
382 This property is read-only
394 This property is write-only
423 Property or method not found
430 OLE Automation is not supported by this object
438 This property or method is not supported by the object
445 This action is not supported by given object
446 Named arguments are not supported by given object
447 The current locale setting is not supported by the given object
450 Invalid number of arguments
453 Specified DLL function not found
956 VÀÀrtust pole vÔimalik rakendada
958 Sub procedure or function procedure already defined
961 Array or procedure not found
966 Statement block still open: missing
968 Symbol already defined differently
969 Parameetrid ei vasta protseduurile
971 Massiiv peab olema kindlate mÔÔtmetega
973 not allowed within a procedure
974 not allowed outside a procedure
975 MÔÔtmete spetsifikatsioonid ei ĂŒhti
979 Stringid ja massiivid ei ole lubatud
1000 Objektil pole seda atribuuti
1001 Objektil puudub see meetod
1002 Vajalik argument on puudu