LibreOffice 25.8 Help
You can set the locale used for controlling the formatting numbers, dates and currencies in LibreOffice 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.
這同樣適用於日期、時間和貨幣等格式的語言環境設定。Basic 格式代碼將依語言環境設定進行解譯和顯示。
16 種基本顏色的顏色值如下:
| 顏色值 | 顏色名稱 | 
|---|---|
| 0 | 黑色 | 
| 128 | 藍色 | 
| 32768 | 綠色 | 
| 32896 | 藍綠色 | 
| 8388608 | 紅色 | 
| 8388736 | 紫紅色 | 
| 8421376 | 黃色 | 
| 8421504 | 白色 | 
| 12632256 | 灰色 | 
| 255 | 淺藍色 | 
| 65280 | 淺綠色 | 
| 65535 | 淺藍綠色 | 
| 16711680 | 淺紅色 | 
| 16711935 | 淺紫紅色 | 
| 16776960 | 淺黃色 | 
| 16777215 | 透明白色 | 
Open and select container.
Open and select container.
This library must be loaded before execution. Execute the following statement before running any macro that uses this library:
This constant, function or object is enabled with the statement Option VBASupport 1 placed before the executable program code in a module.
This statement must be added before the executable program code in a module.
This method is only available for Basic scripts.
This method is only available for Python scripts.
This method requires the installation of the APSO (Alternative Script Organizer for Python) extension. In turn APSO requires the presence of LibreOffice Python scripting framework. If APSO or Python are missing, an error occurs.
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.
973 not allowed within a procedure