Command line docx macro

I have a word document with a macro named JamieTest. How do I run this from the commandline.

My attempted statement is

soffice --convert-to pdf --norestore --writer --headless C:\Database\Draft.docx “macro:///Standard.Module1.JamieTest” --outdir /database

This outputs my pdf, but has not ran the macro.

LibreOffice Help

user@system:~> libreoffice7.1 --help
LibreOffice 7.1.1.2 fe0b08f4af1bacafe4c7ecc87ce55bb426164676

Usage: soffice [argument...]
       argument - switches, switch parameters and document URIs (filenames).   

Using without special arguments:                                               
Opens the start center, if it is used without any arguments.                   
   {file}              Tries to open the file (files) in the components        
                       suitable for them.                                      
   {file} {macro:///Library.Module.MacroName}                                  
                       Opens the file and runs specified macros from           
                       the file.

My understanding of this: Calling a macro only works, if there is no other command line switch and the only other allowed parameter may be the file containing the macro being called.

Cont’d

soffice C:\Database\Draft.docx "macro:///Standard.Module1.JamieTest" should work. Everything else must be performed by your macro.