Add in eOpt.cellType in beforeCellWrite call back