eAczF‖Information

uBU7T‖You can set the locale used for controlling the formatting numbers, dates and currencies in LibreOfficeDev Basic in - Languages and Locales - General. 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.

6NcoV‖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.

3P4FS‖The color values of the 16 basic colors are as follows:

8hbC4‖Color Value

QQwAi‖Color Name

BFWxF‖0

DnRcy‖Black

fNgfA‖128

cKXGh‖Blue

bWVAH‖32768

BSMfN‖Green

jKRmC‖32896

FpUmM‖Cyan

B3KDB‖8388608

nCECE‖Red

SiHeX‖8388736

k8Grk‖Magenta

EwomB‖8421376

NaLsx‖Yellow

mYZEc‖8421504

bCKAK‖White

XmwSs‖12632256

UJkGm‖Gray

w2HbR‖255

oW4D4‖Light blue

QnBYA‖65280

GEu7u‖Light green

SuV8z‖65535

PJeZ6‖Light cyan

aB3ck‖16711680

pNTLp‖Light red

eRFtZ‖16711935

CC7de‖Light magenta

DFANi‖16776960

8CMGd‖Light yellow

uh5F4‖16777215

JQFij‖Transparent white


aGCSR‖Open Tools - Macros - Organize Dialogs and select LibreOfficeDev Dialogs container.

QFmDV‖Open Tools - Macros - LibreOfficeDev Basic - Edit and select Application Macros container.

7wPgQ‖This library must be loaded before execution. Execute the following statement before running any macro that uses this library:

warning

R9TFi‖This constant, function or object is enabled with the statement Option VBASupport 1 placed before the executable program code in a module.


warning

DYo4K‖This statement must be added before the executable program code in a module.


FVEx2‖Syntax:

GePPP‖Return value:

WADQ4‖Parameters:

EFSA4‖Example:

3aa4B‖In Basic

BenDd‖In Python

note

AuYyY‖This method is only available for Basic scripts.


note

Kk2av‖This method is only available for Python scripts.


warning

A6VSZ‖This method requires the installation of the APSO (Alternative Script Organizer for Python) extension. In turn APSO requires the presence of LibreOfficeDev Python scripting framework. If APSO or Python are missing, an error occurs.


note

yJwvF‖This service is fully supported in both Basic and Python languages. All examples are expressed using the Basic programming language and can be easily converted to Python.


VSTRZ‖String functions

CGSvh‖VBA financial functions

j4BMQ‖VBA Time and Date functions

7Ua2W‖VBA I/O functions

6WpBf‖VBA Mathematical functions

prz6h‖VBA Object functions

SEjHR‖Error codes:

FZz2o‖1 An exception occurred

DKGkC‖2 Syntax error

YsmXG‖3 Return without Gosub

BWdtp‖4 Incorrect entry; please retry

JpK7p‖5 Invalid procedure call

5FBva‖6 Overflow

Aesp7‖7 Not enough memory

ADAg2‖8 Array already dimensioned

RGkBU‖9 Index out of defined range

aGWmD‖10 Duplicate definition

yQDJd‖11 Division by zero

QNoHo‖12 Variable not defined

JA5Hz‖13 Data type mismatch

4TqAx‖14 Invalid parameter

jdVyz‖18 Process interrupted by user

JLrsT‖20 Resume without error

GXk5T‖28 Not enough stack memory

FmFDo‖35 Sub-procedure or function procedure not defined

FV8Co‖48 Error loading DLL file

AUofE‖49 Wrong DLL call convention

gFqEp‖51 Internal error

BfDiD‖52 Invalid file name or file number

BxqWu‖53 File not found

hLWBB‖54 Incorrect file mode

vfktA‖55 File already open

5U4Mf‖57 Device I/O error

JViEn‖58 File already exists

ECAdf‖59 Incorrect record length

dwGgg‖61 Disk or hard drive full

S3khY‖62 Reading exceeds EOF

jeGkc‖63 Incorrect record number

2UVyw‖67 Too many files

Utuex‖68 Device not available

dRuHr‖70 Access denied

arFri‖71 Disk not ready

SCC7B‖73 Not implemented

iZW7f‖74 Renaming on different drives impossible

kTskL‖75 Path/file access error

uBBn2‖76 Path not found

RKFgh‖91 Object variable not set

zqsZE‖93 Invalid string pattern

ksvCu‖94 Use of zero not permitted

RYPAt‖250 DDE Error

UfCnF‖280 Awaiting response to DDE connection

xZB2C‖281 No DDE channels available

SBNvn‖282 No application responded to DDE connect initiation

FWhCT‖283 Too many applications responded to DDE connect initiation

MrWKp‖284 DDE channel locked

HBT2W‖285 External application cannot execute DDE operation

c7CXR‖286 Timeout while waiting for DDE response

CjAQV‖287 user pressed ESCAPE during DDE operation

tgG8B‖288 External application busy

VfisP‖289 DDE operation without data

y9Et9‖290 Data are in wrong format

JNNcv‖291 External application has been terminated

DGDBs‖292 DDE connection interrupted or modified

EAqMA‖293 DDE method invoked with no channel open

MSG8v‖294 Invalid DDE link format

TPbqp‖295 DDE message has been lost

SaGET‖296 Paste link already performed

FYYN7‖297 Link mode cannot be set due to invalid link topic

4FUFN‖298 DDE requires the DDEML.DLL file

wCkxq‖323 Module cannot be loaded; invalid format

Kqnuc‖341 Invalid object index

ZLqAy‖366 Object is not available

9THvG‖380 Incorrect property value

GVG9j‖382 This property is read-only

4ZfRc‖394 This property is write-only

8HyzA‖420 Invalid object reference

JmJEM‖423 Property or method not found

QcFEv‖424 Object required

5JYN2‖425 Invalid use of an object

RRiUM‖430 OLE Automation is not supported by this object

FdF9E‖438 This property or method is not supported by the object

FGpys‖440 OLE automation error

VbSM2‖445 This action is not supported by given object

AJaz2‖446 Named arguments are not supported by given object

hPPNr‖447 The current locale setting is not supported by the given object

B5qgM‖448 Named argument not found

uA2bA‖449 Argument is not optional

jwUa7‖450 Invalid number of arguments

9LiNF‖451 Object is not a list

CRFBJ‖452 Invalid ordinal number

6aDe2‖453 Specified DLL function not found

qAGfZ‖460 Invalid clipboard format

xEbv8‖951 Unexpected symbol:

tGht6‖952 Expected:

bYbvt‖953 Symbol expected

F58GE‖954 Variable expected

ovp3T‖955 Label expected

vN82g‖956 Value cannot be applied

v4YL6‖957 Variable already defined

nSU7c‖958 Sub procedure or function procedure already defined

FVyYw‖959 Label already defined

wqmVZ‖960 Variable not found

3xV2f‖961 Array or procedure not found

WvEZU‖962 Procedure not found

LZQUF‖963 Label undefined

nCn66‖964 Unknown data type

G4CNC‖965 Exit expected

Gix57‖966 Statement block still open: missing

tXAC8‖967 Parentheses do not match

BjgAZ‖968 Symbol already defined differently

v3YUD‖969 Parameters do not correspond to procedure

WWM2a‖970 Invalid character in number

GvBvK‖971 Array must be dimensioned

rhQJE‖972 Else/Endif without If

RBFDa‖973 not allowed within a procedure

MBgDF‖974 not allowed outside a procedure

FBV3n‖975 Dimension specifications do not match

nwNaJ‖976 Unknown option:

jujW4‖977 Constant redefined

WdYAj‖978 Program too large

yhBbE‖979 Strings or arrays not permitted

795cp‖1000 Object does not have this property

2Pmyz‖1001 Object does not have this method

XDhUD‖1002 Required argument lacking

imBTP‖1003 Invalid number of arguments

yRbzS‖1004 Error executing a method

sjbZK‖1005 Unable to set property

jDyKo‖1006 Unable to determine property