use setProtect(boolean protect) 
          Sets the protection on enabled or disabled
and lock cells with setLocked(boolean locked) 
          set the cell's using this style to be locked

works fine with no encryption

-----Message d'origine-----
De : Karl-Heinz Zengerle [mailto:[EMAIL PROTECTED]
Envoy� : mardi 23 mars 2004 18:34
� : [EMAIL PROTECTED]
Objet : Is it possible ...?


Hi world.
 
Is it possible to
 
-          get and set sheltering mechanisms of Excel (e.g. for the
sheet; not allowing users to change something)? If yes what classes
would have to be used?
-          Do so something with macros e.g. getting them. If yes what
classes would have to be used?
 
Regards,
Karl-Heinz Zengerle.
 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to