> How can I password protect my excel workbook or worksheet?
The question is unclear. openpyxl supports passwords which provide a
certain degree of protection at user level from changes, ie. in Excel
users will be asked to provide a password if they want to change anything.
This is set using the worksheet protection object:
openpyxl does not and probably never will support file-level encryption as
it's not in the specs. However, as Excel files are just zip archives, you
could simply use the zipfile module to set a password for the archive.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657 Mobile: +49-178-782-6226
anchal...@gmail.com
unread,
Mar 2, 2015, 4:23:19 AM3/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openpyx...@googlegroups.com
Thank you Charlie.
Actually I want to password protect by excel workbook. Do you know of any other modules which might assist me in achieving this?
Charlie Clark
unread,
Mar 2, 2015, 4:23:53 AM3/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
> Thank you Charlie.
> Actually I want to password protect by excel workbook. Do you know of any
> other modules which might assist me in achieving this?