You can clone with
No one assigned
No description provided.
Do you mean lock people from editing or locking a column/row pane?
Lolz both?!!? I'll see what we have already and what needs to be done this weekend. If you have a sample of what your looking to do, please add it to this ticket.
Yes ... I thinks it's the same.
By default all cells are locked, but to protect them from writing I have to lock the worksheet, too.
Cheers. I'll be in touch soon with a solution/example. Thanks for using axlsx!
The basics for sheet protection have been implemented on master. However, I am having a bit of trouble implementing the password hashing as defined by the specification. So you can use this to enable sheet protection, but please dont us the password yet as excel is not returning the same hash and the sheet will be permanently locked.
Have a look at the following for info on what can be protected.https://github.com/randym/axlsx/blob/master/lib/axlsx/workbook/worksheet/sheet_protection.rb
basically something like
ws = p.workbook.add_worksheet
ws.sheet_protection do |sp|
sp.sheet = true
sp.format_cells => false
Excellent work on that retro PW implementation. Ill keep this floating on stackoverflowhttp://stackoverflow.com/questions/10694174/implement-ecma-376-sheetprotection-hashing-algorithm-in-ruby
In the hope that someone out there has been there, done that - and knows how to get this working according to the proper spec instead of one of the transitional exceptions. (assuming MS is even interested in this part....)
This will be released next week in 1.1.6