Ask Your Question

Default macro to save file? [closed]

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 reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-09-30 01:23:27.481063


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

What I do is create a safe folder and store all macro containing documents there. You can have multiple safe locations too.

And I then have macro security to high

Konstantinos Froudarakis gravatar imageKonstantinos Froudarakis ( 2020-05-17 17:48:31 +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

Question Tools

1 follower


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

Seen: 1,170 times

Last updated: Apr 20 '17