In Openpyxl, how to replace a cell with a Cell object in a worksheet?
up vote
-1
down vote
favorite
So I have a function which takes a Cell object and spit out a processed cell : from openpyxl.cell.cell import Cell cell = Cell(ws) def process_cell(cell): # Add style to cell return cell However I can't do this: cell = process_cell(cell) ws['A1'] = cell The error is: raise ValueError("Invalid column index {0}".format(idx)) ValueError: Invalid column index None
python openpyxl
share | improve this question
asked Nov 19 at 16:57
yughred
137 11
...