I would like to make a Macro that locks all sheets but keeps pivot tables and filters accessible.

This does no longer work in 25.2. Please do not provide untested ChatGPT answers, I have already tried this…

Ola @manolis1 , as planilhas com a tabela dinâmicas, poderiam estar separadas, sem proteção?


Hi @manolis1, could the spreadsheets with the dynamic tables be separated, without protection?

In particular with regard to the filters, no. Moreover, the user interface allows locking while allowing using filters and pivot tables. I am therefore quite sure that macros should also allow this.

How to Report Bugs in LibreOffice - The Document Foundation Wiki

It is not related to a bug. Prior to 25.2, the locking mechanism was not as fine grained as it is now. The reason I mention the version is that macros written for older versions will not exhibit the problem.