step to reproduce 1. File> New> Text document 2. Tools> Macros> Organize> LibO Basic, click Organizer, tab Libraries, location:Untitled 1, click New, name Library1, Ok 3. Click Password: foo (confirm), Ok 4. Click Edit: in Module1 of Library1, create the following macro: sub Main msgbox "Hello" End Sub 5. Save the document and *close it*. 6. Reopen the document 7. Tools> Macros> Organize> LibO Basic and try edit code The Module and code are not there (dataloss) maybe related to issue 68983 Doing the other way, create module and code before setting the library password protected and save --> it is ok
Hi Not reproduced on windows 7/64 & Version: 5.0.1.2 Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261 Locale: fr-FR (fr_FR) or Version: 5.0.1.2 (x64) Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261 Locale : fr-FR (fr_FR) closed WORKSFORME as requested by Laurent (fr-discuss) Regards Pierre-Yves