Visual Basic for Applications (VBA)は、すべてのMicrosoft Officeアプリに組み込まれているMicrosoftのVisual Basicの実装です。
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.
Choose LibreOffice - PreferencesTools - Options - Load/Save - VBA Properties and mark the Executable code checkbox. Then load or open your document.
Run VBA macros in the same way as LibreOffice Basic macros.
Since support for VBA is not complete, you may have to edit the VBA code and complete the missing support with LibreOffice Basic objects, statements and functions.
VBA macros can be edited in the LibreOffice Basic IDE.