Skip to main content

EXCEL.BAD_OPTION

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

What it means​

  • select must be range, rows, columns or whole_sheet, not '…'
  • Unknown start '…'
  • sort_as must be auto, number or text, not '…'

What to do​

  • Pick range, rows, columns or whole_sheet.
  • Use top, active_cell, cell or end.
  • Pick auto, number or text.

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_OPTION bad option