Default macro to save file?

bump … anyone?

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

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

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: Calc file ... first save is slow ... then fast … unless you perhaps know another solution.

If you lower your security you should not see a “macro warning”. Try setting: Tools Options LibreOffice Security Macro Security Security level Low

If you lower your security you should not see a “macro warning”. Try setting: Tools Options LibreOffice Security Macro Security Security level Low

Thanks … I was hoping for a more elegant solution though :wink: Lowering security is not a very good practice.

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

Hallo

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

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 Calc file ... first save is slow ... then fast) So where can I find that specific macro so I can assign it to the ‘Open document’ action?