Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.34 KB

File metadata and controls

48 lines (33 loc) · 1.34 KB

Excel Sheet Protection Manager (Python)

Description

A Python automation script that manages protected Excel workbooks by unlocking all sheets and removing VBA project protection at runtime. It enables seamless data processing, editing, and saving without manual password intervention, designed for authorized internal automation workflows only.


Features

  • Unlocks all protected worksheets in an Excel file
  • Removes VBA project protection programmatically
  • Works with a predefined Excel file path
  • Enables smooth automation without manual Excel interaction
  • Supports saving the workbook after execution

Use Cases

  • Automating data updates in protected Excel files
  • Handling legacy Excel workbooks with forgotten protections
  • Batch processing Excel files in internal systems
  • Reducing manual effort in Excel-based workflows

Requirements

  • Python 3.x
  • Microsoft Excel (installed on system)
  • Required Python libraries (listed in requirements.txt)

Project Structure

excel-sheet-protection-manager/
├── README.md
├── unlock_excel.py
├── requirements.txt
└── samples/
    └── protected_file.xlsx
Disclaimer

This project is intended only for Excel files you own or are explicitly authorized to modify.
Unauthorized use on third-party or restricted documents is strongly discouraged.