check_excel_restriction property

check_excel_restriction property

The property determines whether Excel file restrictions are checked when modifying cell-related objects.

If true, attempting to input a string longer than 32 K will raise an exception. If false, the input string is accepted, allowing the full value to be output to other formats such as CSV. However, saving the workbook back to Excel format with such invalid values may cause unexpected errors.

Definition:

@property
def check_excel_restriction(self):
    ...
@check_excel_restriction.setter
def check_excel_restriction(self, value):
    ...

See Also