LibreOffice Basic Help

LibreOffice provides an Application Programming Interface (API) that allows controlling the LibreOffice components with different programming languages by using the LibreOffice Software Development Kit (SDK). For more information about the LibreOffice API and the Software Development Kit, visit

This help section explains the most common runtime functions of LibreOffice Basic. For more in-depth information please refer to the BASIC Programming Guide on the Wiki.

Working with LibreOffice Basic

Programming with LibreOffice Basic

Run-Time Functions

Recording a Macro

Creating a Basic Dialog

Creating Controls in the Dialog Editor

Changing the Properties of Controls in the Dialog Editor

Opening a Dialog With Program Code

Programming Examples for Controls in the Dialog Editor

Working with VBA Macros

Working with VBA Macros

Exclusive VBA functions

Help about the Help

The Help references the default settings of the program on a system that is set to defaults. Descriptions of colors, mouse actions, or other configurable items can be different for your program and system.

The LibreOffice Help Window

Tips and Extended Tips

Index - Keyword Search in the Help

Find - The Full-Text Search

Managing Bookmarks

Contents - The Main Help Topics