Those macros seem to be unmaintained since 15 years. This works with a
save event:
> Sub protectSheets_onSave(ev)
> eSh = ev.Source.Sheets.createEnumeration()
> while eSh.hasMoreElements()
> sh = eSh.nextElement()
> sh.protect("")
> wend
> End Sub
--
To unsubscribe e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted