randym / axlsx

xlsx generation with charts, images, automated column width, customizable styles and full schema validation. Axlsx excels at helping you generate beautiful Office Open XML Spreadsheet documents without having to understand the entire ECMA specification. Check out the README for some examples of how easy it is. Best of all, you can validate your xlsx file before serialization so you know for sure that anything generated is going to load on your client's machine.
MIT License
2.62k stars 697 forks source link

Generating Password protected excel file #415

Open NehalDamania opened 9 years ago

NehalDamania commented 9 years ago

We don't have any provision to generate Password Protected Encrypted Excel File right now. Is there any way around? Would be a nice to have feature. http://stackoverflow.com/questions/32244877/generating-password-protected-excel-file-in-ruby-rails

pawlarius commented 7 years ago

@NehalDamania did u find how? @randym

vijay15793 commented 5 years ago

@pawlarius Got any solution ?

fabdbt commented 4 years ago

I tried https://github.com/randym/axlsx/blob/master/examples/sheet_protection.rb without success. Does anyone have a solution ?

@vijay15793 @pawlarius