Skip to main content

EXCEL errors

CodeWhat it means
EXCEL.AUTOFIT_FAILEDCannot measure the text to fit the columns: …
EXCEL.BAD_CELLGive both the row and the column
EXCEL.BAD_CLEARClear must be contents, formats or all, not '…'
EXCEL.BAD_COLOR'…' is not a colour
EXCEL.BAD_COLUMNNo column given
EXCEL.BAD_COUNTCount must be at least 1
EXCEL.BAD_DIRECTIONDirection must be down or right, not '…'
EXCEL.BAD_FILTERAn Excel filter needs a header row for its buttons
EXCEL.BAD_FORMATUnsupported format '…'
EXCEL.BAD_FORMULAInvalid formula '…': …
EXCEL.BAD_FUNCTION'…' is not a summary function
EXCEL.BAD_HEADERColumn … of the source range has no header
EXCEL.BAD_LINKThe new link is empty
EXCEL.BAD_MOVEUnknown move '…'
EXCEL.BAD_NAME'…' cannot be a table name
EXCEL.BAD_OPERATORUnknown operator '…'
EXCEL.BAD_OPTIONselect must be range, rows, columns or whole_sheet, not '…'
EXCEL.BAD_PASTEPaste must be all, values, formulas or formats, not '…'
EXCEL.BAD_PATHGive the workbook's path in the drive after onedrive:, for example onedrive:Reports/2026/sales.xlsx
EXCEL.BAD_POSITIONPosition must be between 1 and …
EXCEL.BAD_RANGE'…' is not a range
EXCEL.BAD_ROWRow … comes before row …
EXCEL.BAD_SHEETA sheet name cannot be empty
EXCEL.BAD_SHEET_NAME
EXCEL.BAD_SHIFTShift must be up or left, not '…'
EXCEL.BAD_SIZEWidth … is out of range
EXCEL.BAD_STYLE'…' is not an Excel table style
EXCEL.COLUMN_EXISTSTable '…' already has a column '…'
EXCEL.EMPTYThe source sheet has no data
EXCEL.EMPTY_FINDText to find is empty
EXCEL.EXISTSA file already exists at …
EXCEL.LAST_COLUMNA table must keep at least one column
EXCEL.LAST_SHEETA workbook must keep at least one sheet
EXCEL.LAST_VISIBLE_SHEETCannot hide the only visible sheet
EXCEL.NOTHING_TO_LOCKNo password was given
EXCEL.NOTHING_TO_UNLOCKNothing to unprotect was chosen
EXCEL.NOT_FOUNDWorkbook not found: …
EXCEL.NOT_SUPPORTEDA password to edit needs an .xlsx workbook
EXCEL.NO_EMPTY_CELLNo empty cell before the edge of the sheet
EXCEL.NO_LINKThe workbook has no link to '…'
EXCEL.NO_SELECTIONNo range given and the sheet has no active cell
EXCEL.NO_SHEETSheet '…' not found… among the visible sheets (the workbook was opened to skip hidden sheets)……
EXCEL.NO_TABLEExcel table '…' not found
EXCEL.NO_TOKENA SharePoint or OneDrive link needs access_token
EXCEL.NO_VALUESNo value fields given
EXCEL.OPEN_FAILEDCannot open …: …
EXCEL.OVERLAPThe range overlaps the table …
EXCEL.PASSWORD_REQUIREDThe workbook … is password-protected
EXCEL.READ_ONLYThe workbook was opened read-only
EXCEL.SAVE_FAILEDCannot save …: …
EXCEL.SHEET_EXISTSSheet '…' already exists
EXCEL.WRONG_EDIT_PASSWORDThe password to edit … is wrong
EXCEL.WRONG_PASSWORDThe password for … is wrong
EXCEL.XLSX_ONLYSensitivity labels are only supported for .xlsx workbooks