LibreOffice 7.4 Help
LibreOffice Basic libraries can be stored in 3 different containers:
Application Macros: libraries stored in this container are available for all users of the computer and are managed by the computer administrator. The container is located in the LibreOffice installation directory.
My Macros: libraries stored in this container are available to all documents of your user. The container is located in the user profile area and is not accessible by another user.
Document: libraries stored in the document container are only available for the document and are accessible only when the document is open. You cannot access macros of a document from another document.
To access macros stored in libraries of Application Macros or My Macros from another container, including the document container, use the GlobalScope specifier.