Metadata-Version: 2.4
Name: xlreset
Version: 0.1.0
Summary: CLI to reset an Excel workbook's initial view to cell A1 and 100% zoom on every sheet.
Author: RyoKasai
Author-email: RyoKasai <sekaowa.ryoukun@icloud.com>
License-Expression: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Office/Business :: Office Suites
Classifier: Topic :: Utilities
Requires-Python: >=3.11
Project-URL: Homepage, https://github.com/RKasai127/xlreset
Project-URL: Issues, https://github.com/RKasai127/xlreset/issues
Description-Content-Type: text/markdown

# xlreset
CLI to set Excel's initial view to cell A1 and 100% zoom.

| Before | After |
| --- | --- |
| ![Before: scrolled, zoomed, wrong cell selected](docs/screenshot-before.png) | ![After: A1 selected at 100% zoom](docs/screenshot-after.png) |

## Install

```sh
pipx install xlreset
```

## Usage

```sh
xlreset file.xlsx
```

The file is rewritten **in place** (no backup is created). For every sheet in
the given `.xlsx`/`.xlsm` file, xlreset sets:

- scroll position (`topLeftCell`) to `A1`
- zoom to 100% (`zoomScale` and `zoomScaleNormal`)
- the active cell/selection (`activeCell`, `sqref`) to `A1`

Everything else is left untouched.

xlreset is a CLI-only tool with no configuration flags. Feature requests?
Please [open a GitHub issue](https://github.com/RKasai127/xlreset/issues).

## License

MIT
