Jemp
Jemp

Reputation: 351

Java - Make an excel workbook 'read-only' using jxl API

How can I make my worksheet read-only? I'm using jxl to read and write excel files (.xls). I've been googling this the whole day.

Upvotes: 0

Views: 1854

Answers (1)

Roger Lindsjö
Roger Lindsjö

Reputation: 11543

Have you tried the getSettings from your sheet and then setProtected(true) on those settings?

Upvotes: 1

Related Questions