Support for VBA Macros

Wobsah

# Working with VBA Macros

Visual Basic for Applications (VBA) is an implementation of Microsoft's Visual Basic which is built into all Microsoft Office applications.

Support for VBA is not complete, but it covers a large portion of the common usage patterns. Most macros use a manageable subset of objects in the Excel API (such as the Range, Worksheet, Workbook, etc.) and the support include those objects, and the most commonly used method/properties of those objects.

## Loading Microsoft Office documents with executable VBA macros

Choose LibreOfficeDev - PreferencesTools - Options - Load/Save - VBA Properties and mark the Executable code checkbox. Then load or open your document.

#### Wuwjedźomny kod

Kod VBA (Visual Basic Applications) so začita, zo by so dał direktnje wuwjesć. Jeli tutón kontrolny kašćik markěrowany njeje, so VBA-kod wukomentuje, zo by so dał přepytować, ale nic wuwjesć.

Po začitanju koda VBA LibreOfficeDev instrukciju Option VBASupport 1 w kóždym modulu Basic zasadźuje, zo by wobmjezowanu podpěru za instrukcije, funkcije a objekty VBA zmóžnił. Hlejće instrukciju Option VBASupport za dalše informacije.

## Running VBA Macros

Run VBA macros in the same way as LibreOfficeDev Basic macros.

Since support for VBA is not complete, you may have to edit the VBA code and complete the missing support with LibreOfficeDev Basic objects, statements and functions.

## Editing VBA Macros

VBA macros can be edited in the LibreOfficeDev Basic IDE.

Podobne temy

VBA Properties

LibreOfficeDev Basic IDE

Prošu podpěrajće nas!