As the title implies: suppose in the current document or in a shared macro library I have a macro function with the wonderfully specific name “do_it”. Then I can use DO_IT
in formulae in a spreadsheet, e.g. =DO_IT(17)
.
But suppose elsewhere there is another macro function with the same name, or (as a best practice) I just wish to be 100% sure I get the right macro, e.g. from a module Module1
in the library Standard
(and not some built-in Calc function of that name either). Can I then specify something (mutatis mutandis) like =STANDARD.MODULE1.DO_IT(17)
?
If there is such a syntax, then:
- What variations are possible, e.g. omitting some parts or the specification?
- Can one specify whether to look in a document or a shared macro library such as
My Macros & Dialogs
? - Can one also call functions in a different document?
- Can I explicitly specify that I want a built-in function rather than a macro function?
In the help at file:///opt/libreoffice7.6/help/en-GB/text/scalc/guide/userdefined_function.html?DbPAR=CALC
only the simple syntax =DO_IT(17)
is shown.
I have experimented a little with quoting and exact casing, but nothing I tried worked:(