Raise error when trying to assign a list of values to a cell.

Issue #267 resolved
Charlie Clark
created an issue
from openpyxl import Workbook
wb = Workbook()
wb = ws.active
ws['A1'] = [1, 2, 3]
cell = ws['A1']
ws['A1'].data_type

This creates a cell with a value of the string representation of the list. But this won't serialise properly. The inference either needs to be better or, preferably, an exception is raised.

Comments (2)

  1. Log in to comment