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

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.1.0.tar.gz (4.5 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.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xlreset-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6340c0b0ae3b33fb25b035a895d0cd0b74c21da9fecfbdb6bf08815aadbe98a0
MD5 3c4aa3212576757b47ffac4c3db18e0f
BLAKE2b-256 a48969df802939f25ee61e30e300219c58a1f625a59e0358aaa741cbb796807b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xlreset-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86826cdf915b1de8a4dc6d8e34609e1aba7aff7b534218d66c90a0e570ef1154
MD5 3782647fa7775a2b3d88f82e971c5f6d
BLAKE2b-256 7ba081497919fd7447161624031478f2092fd75f3e28f2e517e6d3161ae01bc4

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.0

2 files

This release

0.1.0 This release

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