If I know it exactly, it is not possible to call a function from an another document.
Functions are available from two places:
1.: from the library of the office suite ('myMacros - Standard Sibrary'),
2.: and from the Standard Library of the current document.
The Standard libraries will be loaded automatically into the memory when the application is launched or the document is loaded, other Libraries you must load by program code.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Use the script provider to do it from the document instance that opened contains macros you want to invoke.
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice