I will try this way. Thanks for your answer.

Rodica

--- s k <[EMAIL PROTECTED]> wrote:

> I use POI 2.5.1. It works fine.
> I did 3 things.
> 1. Create cell style and set lock, see:
> cellStyle.setLocked(boolean)
> 2. Set cell style to a cell e.g.
> cell.setCellStyle(cellStyle);
> 3. Protect your worksheet e.g.
> sheet1.setProtect(true);
> 
> S K
> 
> On 3/28/07, Fulg de Nea <[EMAIL PROTECTED]> wrote:
> > Hi guys,
> >
> > I was wondering if it is possible to protect the
> excel
> > worksheets.. for example to set some cells not to
> be
> > editable. If this can be done, please tell me in
> which
> > POI version.
> >
> > Best regards,
> > Rodica


 
____________________________________________________________________________________
Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to