after_calculate方法

after_calculate(sheet_index, row_index, col_index)

计算完一个单元格后执行此方法进行业务。

def after_calculate(self, sheet_index, row_index, col_index):
    ...
范围 类型 描述
sheet_index int 单元格所属工作表的索引。
row_index int 单元格的行索引
col_index int 单元格的列索引

也可以看看