Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You may check this attached example.
However, if relying on user code in LibreOffice you should study the API. It is very different from MS Office / VBA.
Unfortunately I do not know a good compendium (and I#m not an expert at all).
The API can be accessed from different programming languages for which the needed bridges exist (see developers guide). Emphasizing the ways LibO BASIC does it, you may start with the famous texts by Andrew Pitonyak ("Book" and "Useful Macro Information"). They are available here.