https://github.com/0tii/excelsheetunblocker
🔓 Remove Sheet Protection from .xlsx files. Easily.
https://github.com/0tii/excelsheetunblocker
excel protection sheet unlock
Last synced: 10 months ago
JSON representation
🔓 Remove Sheet Protection from .xlsx files. Easily.
- Host: GitHub
- URL: https://github.com/0tii/excelsheetunblocker
- Owner: 0tii
- Created: 2021-10-19T06:45:45.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-12T07:41:37.000Z (over 1 year ago)
- Last Synced: 2025-04-07T04:34:09.940Z (about 1 year ago)
- Topics: excel, protection, sheet, unlock
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 🔓 Excel Sheet Unlocker
Remove sheet protection from .xlsx files.
> [!CAUTION]
> The (un-)zip functionality with .xlsx files is currently broken under Windows 11, therefore this app does only support up to Windows 10!
## How to use
### Run
Run the script/packaged executable from the command line.
Universal unpackaged
```PowerShell
py unblock.py [--cli] [--dir]
```
Powershell:
```PowerShell
& "C:\Users\...\unblock.exe" [--cli] [--dir]
```
Cmd
```PowerShell
unblock.exe [--cli] [--dir]
```
### Selecting files
- If starting without options, you will be presented a multi-file picker. Choose any amount of xlsx files to unblock, select 'Open' and you are done. 
- If starting with `--dir` option, you will be presented a directory picker. Select your directory and click 'Select Folder'. Unblocker will then check for and process all viable files in the directory. 
- Should you want to run this as `--cli` application, you will be prompted to enter paths to the target files. In standard mode, you will only be able to point to a single file, in `--dir` mode, you will be able to supply a directory path.
### Options
## `--dir`
Select a directory instead of individual files. All .xlsx files in the directory will be processed.
## `--cli`
Replaces the GUI file/directory picker with cli-input paths. Paths can be specified both explicitly and relative.
## Requirements
Written in Python 3.9.7, should work on 3.x. Depends solely on std libraries.
## Output
Input-files will be overwritten with unlocked versions.
## Limits
Only works on .xlsx files. Older excel formats should be converted using Excel, via 'Save As' -> '.xlsx'
## Todo
- More transparent logging
- Auto-convert xls to xlsx