I know liberoffice can be opened when the system is turned on. Can I fix the system so that a macro is loaded when the system is turned on>
There is a possibility to start a macro via command-line, but not for every module of LibreOffice as yo may see in this thread:
Please note, this is not the same as “load LO on system-start”, but the command-line can be put in a script for the autostart-option of the OS.
.
Using google with libreoffice execute macro command line
you may find a lot of references