poiRow/poiCol Error report

From this point downward the code no longer works due to the
introduction of the “pos” variable instead of the poiRow/poiCol
variable. Consider function revision.