Skip to main content

EXCEL.BAD_RANGE

Error code EXCEL.BAD_RANGE, raised by packages-office. Area: EXCEL.

What it means​

  • '…' is not a range
  • End row … is before start row …
  • The copy would go past the edge of the sheet

What to do​

  • Use an address such as A1:D20.
  • Give an end row at or after the start row.
  • Pick a destination nearer the top-left.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: EXCEL BAD_RANGE bad range