Ask Your Question

Completely disabling macros

asked 2018-10-10 08:08:36 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.


When I use the /usr/lib64/libreoffice/share/registry files to disable macros (DisableMacrosExecution true), I find that I can still run macros from the LibreOffice Macros section. I believe these to be a mixture of StarBasic and Python.

How can I totally disable these from being able to be executed?

Also, I can still open the macro editor and edit and run macros from there. How can I completely 100% disable all macros?

edit retag flag offensive close merge delete



When you completely uninstall an office suite, you 100% disable all macros that this particular office suite could execute. To disable all macros of all installed office suites, just turn off the power to the computer

JohnSUN gravatar imageJohnSUN ( 2018-10-10 08:21:42 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2018-10-10 09:02:32 +0200

Options to disable macros are meant in LibreOffice for user's security, not for restricting what the user can do. It that regards, the macros in documents may be dangerous, while the macros in local libraries are under full control of the user (or admin), and thus are safe - which implies that from user's security point of view, there's no reason to disable them.

If you need means to disable all macros, you are welcome to come with an enhancement request, and even participate in the feature implementation (since I doubt that developers would be interested in the implementation: those who need something are most likely to have motivation).

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-10-10 08:08:36 +0200

Seen: 915 times

Last updated: Oct 10 '18