put_value method

put_value

Puts a value into the range, if appropriate the value will be converted to other data type and cell’s number format will be reset.

def put_value(self, string_value, is_converted, set_style):
    ...
ParameterTypeDescription
string_valuestrInput value
is_convertedboolTrue: converted to other data type if appropriate.
set_styleboolTrue: set the number format to cell’s style when converting to other data type

See Also