Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Run Macro from Command Line

Hi all...

I have a .odb file that contains a macro and I'm trying to call this macro from command line, however without success. That's what I'm trying.

soffice "C:\Users\nuno\AppData\Roaming\LineMap.odb" "macro://LineMap/Reports.Report.genRep"

It launch the odb file but doesn't fire the macro. I'm running Libroffice 6.2.4.2

ps. If I run the macro manually it works. it's just a message box.

Thanks