Sets the format of the specified column.
Throws the eInvalidIndex exception if the column index is not valid.