Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

Office Basic Help

External video

Please accept this video. By accepting you will be accessing content from YouTube, a service provided by an external third party.

YouTube Privacy Policy

Accept YouTube Content

Office provides an Application Programming Interface (API) that allows controlling the Office components with different programming languages by using the Office Software Development Kit (SDK). For more information about the Office API and the Software Development Kit, visit https://api.libreoffice.org

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

Working with Office Basic

Programming with Office 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 Basic

Programming Examples for Controls in the Dialog Editor

Basic Programming Examples

Working with VBA Macros

Working with VBA Macros

Exclusive VBA Functions and Statements

Working with Macros in Python

Office Python Scripts Help

Setting up an Integrated Development Environment (IDE) for Python

Python Scripts Organisation and Location

Running Python Interactive Console

Programming with Python Scripts

Python programming examples

Calling Basic Macros from Python

Office internal Basic macro libraries

Office installs a set of Basic macro libraries that can be accessed from your Basic macros.

The Tools Library

The Depot Library

The Euro Library

The FormWizard Library

The Gimmicks Library

The ImportWizard Library

The Schedule Library

The ScriptBindingLibrary Library

The ScriptForge Library

The Template Library

The WikiEditor Library

Help about the Help

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

The Office Help

The Help Index

Bookmarking Help pages

Contents - The Main Help Topics

Getting Support