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:
අගය |
අගය |
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
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:
තෝරා ඇතුළු කරන්න - අනුගාමී මාර්ගය (Charts)
74 Renaming on different drives impossible
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
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
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
961 Array or procedure not found
968 Symbol already defined differently
969 Parameters do not correspond to procedure
970 Invalid character in number
973 not allowed within a procedure
974 not allowed outside a procedure
1002 Required argument lacking