Ask Your Question

Default macro to save file?

asked 2017-04-19 16:39:51 +0200

LibreGuy gravatar image

updated 2017-04-20 19:34:17 +0200

bump ... anyone?

Is there a DEFAULT libreoffice macro that can be attached to an event, which saves the current opened file?

edit retag flag offensive close merge delete


No, there isn't such macro, you need to write it by yourself.
hint: it seems a one-liner.

karolus gravatar imagekarolus ( 2017-04-20 19:43:49 +0200 )edit

Alright ... the problem is ... I want to use a default macro because I don't want a "macro warning" to prompt when I send the file to someone else. That is why I specifically was asking for a default macro. I needed the macro to solve this problem: ... unless you perhaps know another solution.

LibreGuy gravatar imageLibreGuy ( 2017-04-20 20:49:57 +0200 )edit

If you lower your security you should not see a "macro warning". Try setting: ToolsOptionsLibreOfficeSecurityMacro SecuritySecurity levelLow

EasyTrieve gravatar imageEasyTrieve ( 2017-04-22 04:44:22 +0200 )edit

Thanks ... I was hoping for a more elegant solution though ;-) Lowering security is not a very good practice.

LibreGuy gravatar imageLibreGuy ( 2017-04-22 21:45:18 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2017-04-19 17:15:49 +0200

karolus gravatar image


Yes of course … its already attached to event click on save-button

edit flag offensive delete link more


Where can I find this macro then? I would like to save the file after it is opened to solve a problem (as described here So where can I find that specific macro so I can assign it to the 'Open document' action?

LibreGuy gravatar imageLibreGuy ( 2017-04-19 20:22:53 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-04-19 16:39:51 +0200

Seen: 33 times

Last updated: 2 days ago