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)
Parameter Type Description
stringValue String Input value
isConverted Boolean True: converted to other data type if appropriate.
setStyle Boolean True: set the number format to cell’s style when converting to other data type

See Also