← Problems

Edit scripts respond on only one sheet of a workbook

An onEdit script built for one sheet ignores the other sheets in the same workbook, so only the first or last tab responds.

Tier I · Proven The best-established problems.

5 public reports · first reported 13 December 2019 · last reported 25 August 2026

Idea report · $19 · No contacts · All sales final

See a sample idea report

What's going wrong

Owners of multi-tab Google Sheets workbooks write an onEdit script for one tab and find it works only on that tab, or that when two scripts exist only the last one runs.

AI-assisted: written with the help of AI from the reports. The idea report has the full summary.

In the idea report

  • The full summary.
  • The products the 5 reports are about, and how many came each month.
  • Related problems.

No business has been found with this problem yet, so the report has no contacts. All sales are final — no refunds. Pricing.