Skip to main content

xlreset

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

Before After
Before: scrolled, zoomed, wrong cell selected After: A1 selected at 100% zoom

Install

pipx install xlreset

Usage

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
  • the active tab to the first sheet

Everything else is left untouched.

xlreset is a CLI-only tool with no configuration flags. Feature requests? Please open a GitHub issue.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xlreset-0.2.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xlreset-0.2.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file xlreset-0.2.0.tar.gz.

File metadata

  • Download URL: xlreset-0.2.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.19

File hashes

Hashes for xlreset-0.2.0.tar.gz
Algorithm Hash digest
SHA256 086a270e15d83cf294bbb938ce647f52adafc8b94ab17ecce19c4c114712aadb
MD5 f55b276f1b580c7ec0806fd0f0fcfd42
BLAKE2b-256 9792d2a83fde0240439146f689db0e32ab16311d99c7a9574969da6cef85e3af

See more details on using hashes here.

File details

Details for the file xlreset-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: xlreset-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.19

File hashes

Hashes for xlreset-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0184b6ab03adf6ec4cdc8d0d23d31a4f5b8cc9854f69c00f44fbeeff2847bbc7
MD5 3a40c4dfa20ad4dc514d9194d55c8c33
BLAKE2b-256 fa166e1d251c83d246f16f9179c1035b75047b98428d41fe73a7ce3b64b9264e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page