container string; ..... for (col = 1; col <= conlen(string); col++) { Cell = Sheet.getCellByPosition(col - 1, row - 1); Cell.Value = conpeek(string, col); }