Information

You can set the locale used for controlling the formatting numbers, dates and currencies in LibreOffice Basic in - 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:

āļ…āļœāļē

āļ…āļœāļē

0

Black

128

āļąāˇ’āļŊāˇŠ

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 Tools - Macros - LibreOffice Basic - Edit and select LibreOffice Macros container.

This library must be loaded before execution. Place the following statement before the first macro in your module:

warning

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


warning

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


Syntax:

Return value:

Parameters:

Example:

VBA financial functions

VBA Time and Date functions

VBA I/O functions

VBA Mathematical functions

VBA Object functions

Error codes:

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

2 Syntax error

3 Return without Gosub

āļ­āˇāļģāˇ āļ‡āļ­āˇ”āˇ…āˇ” āļšāļģāļąāˇŠāļą - āļ…āļąāˇ”āļœāˇāļ¸āˇ“ āļ¸āˇāļģāˇŠāļœāļē (Charts)

5 Invalid procedure call

6 Overflow

7 Not enough memory

8 Array already dimensioned

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

10 Duplicate definition

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

12 Variable not defined

13 Data type mismatch

14 Invalid parameter

āļ¸āˇ™āļ¸ āˇ€āˇ’āļ°āˇāļąāļē āļ´āļģāˇ’āˇāˇ“āļŊāļąāļē āļšāˇ’āļģāˇ“āļ¸āļ§

20 Resume without error

28 Not enough stack memory

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

48 Error loading DLL file

49 Wrong DLL call convention

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

53 File not found

54 Incorrect file mode

āļŊāˇāļēāˇ’āˇƒāˇŠāļ­āˇ”āˇ€ āļœāˇœāļąāˇ” - āļ…āļ´āļąāļēāļąāļē

57 Device I/O error

58 File already exists

59 Incorrect record length

61 Disk or hard drive full

62 Reading exceeds EOF

63 Incorrect record number

67 Too many files

68 Device not available

āļ¸āˇ™āļ¸ āˇ€āˇ’āļ°āˇāļąāļē āļ´āļģāˇ’āˇāˇ“āļŊāļąāļē āļšāˇ’āļģāˇ“āļ¸āļ§

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

āˇ„āˇāļŠāļ­āļŊ - āļ´āˇ™āˇ… āļœāˇāˇƒāˇ”āļ¸

74 Renaming on different drives impossible

āļ¸āˇ™āļ¸ āˇ€āˇ’āļ°āˇāļąāļē āļ´āļģāˇ’āˇāˇ“āļŊāļąāļē āļšāˇ’āļģāˇ“āļ¸āļ§

76 Path not found

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

93 Invalid string pattern

āļ¸āˇ™āˇ€āļŊāļ¸āˇŠ - āˇ€āļģāˇŠāļœ āļšāˇ’āļģāˇ“āļ¸āļ­āˇāļģāļąāˇŠāļą

250 DDE Error

280 Awaiting response to DDE connection

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

282 No application responded to DDE connect initiation

283 Too many applications responded to DDE connect initiation

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

285 External application cannot execute DDE operation

286 Timeout while waiting for DDE response

287 user pressed ESCAPE during DDE operation

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

291 External application has been terminated

292 DDE connection interrupted or modified

293 DDE method invoked with no channel open

294 Invalid DDE link format

295 DDE message has been lost

296 Paste link already performed

297 Link mode cannot be set due to invalid link topic

298 DDE requires the DDEML.DLL file

323 Module cannot be loaded; invalid format

341 Invalid object index

366 Object is not available

380 Incorrect property value

āļ¸āˇ™āļ¸ āˇ€āˇ’āļ°āˇāļąāļē āļ´āļģāˇ’āˇāˇ“āļŊāļąāļē āļšāˇ’āļģāˇ“āļ¸āļ§

394 This property is write-only

420 Invalid object reference

423 Property or method not found

424 Object required

425 Invalid use of an object

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

448 Named argument not found

449 Argument is not optional

450 Invalid number of arguments

451 Object is not a list

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

951 Unexpected symbol:

952 Expected:

āļŊāˇāļēāˇ’āˇƒāˇŠāļ­āˇ”āˇ€ āļœāˇœāļąāˇ” - āļ…āļ´āļąāļēāļąāļē

āļŊāˇāļēāˇ’āˇƒāˇŠāļ­āˇ”āˇ€ āļœāˇœāļąāˇ” - āļ…āļ´āļąāļēāļąāļē

955 Label expected

956 Value cannot be applied

957 Variable already defined

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

959 Label already defined

960 Variable not found

961 Array or procedure not found

962 Procedure not found

963 Label undefined

964 Unknown data type

965 Exit expected

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

968 Symbol already defined differently

969 Parameters do not correspond to procedure

970 Invalid character in number

971 Array must be dimensioned

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

973 not allowed within a procedure

974 not allowed outside a procedure

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

976 Unknown option:

977 Constant redefined

āļąāˇ’āļ¸āˇāˇ€āˇ”āļ¸ - āļ´āˇ’āļ§āˇ”āˇ€āļ­āˇāļģāļąāˇŠāļą

āļ¸āˇ™āˇ€āļŊāļ¸āˇŠ - āˇ€āļģāˇŠāļœ āļšāˇ’āļģāˇ“āļ¸āļ­āˇāļģāļąāˇŠāļą

āļ¸āˇ™āļ¸ āˇ€āˇ’āļ°āˇāļąāļē āļ´āļģāˇ’āˇāˇ“āļŊāļąāļē āļšāˇ’āļģāˇ“āļ¸āļ§

āļ¸āˇ™āļ¸ āˇ€āˇ’āļ°āˇāļąāļē āļ´āļģāˇ’āˇāˇ“āļŊāļąāļē āļšāˇ’āļģāˇ“āļ¸āļ§

1002 Required argument lacking

1003 Invalid number of arguments

1004 Error executing a method

1005 Unable to set property

āļšāˇāļģāˇŠāļēāļē āļšāˇ’āļģāˇ’āļ¸āļ§ āļ…āˇ€āˇƒâ€āļģ...

Please support us!