UnionRange.PutValue

UnionRange.PutValue method

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.

public void PutValue(string stringValue, bool isConverted, bool setStyle)
ParameterTypeDescription
stringValueStringInput value
isConvertedBooleanTrue: converted to other data type if appropriate.
setStyleBooleanTrue: set the number format to cell’s style when converting to other data type

See Also