Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


Le 10/05/2019 à 16:31, prog.amateur@free.fr a écrit :
Bonjour,

Pour déprotéger
    Feuille.unprotect("mdp") ' enlever le mot de passe
    Feuille.unprotect("") ' sans mot de passe
Pour protéger
    Feuille.protect("mdp") 'avec mot de passe
    Feuille.protect("") 'sans mot de passe

Feuille étant bien sur l'objet feuille à traiter.

Claude

Merci ça marche.

Mais, je suis déçu de la protection des cellules même par macro. S'il
existait une possiblité de protéger, mais pas des macros, ce serait pas mal.

-- 
Amicalement vOOotre              Troumad Alias Bernard SIAUD
mon site : http://troumad.org : AD&D maths WEB...
Pour la liberté http://www.developpez.net/forums/f17/systemes/linux/
N'envoyez que des documents avec des formats ouverts, comme
http://fr.libreoffice.org

-- 
Envoyez un mail à users+unsubscribe@fr.libreoffice.org pour vous désinscrire
Les archives de la liste sont disponibles à https://listarchives.libreoffice.org/fr/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.