## Range::PutValue(const U16String\&, bool, bool) 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.

```cpp
void Aspose::Cells::Range::PutValue(const U16String &stringValue, bool isConverted, bool setStyle)
```


| Parameter | Type | Description |
| --- | --- | --- |
| stringValue | const U16String\& | Input value |
| isConverted | bool | True: converted to other data type if appropriate. |
| setStyle | bool | True: set the number format to cell's style when converting to other data type |

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [Range](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Range::PutValue(const char16_t*, bool, bool) 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.

```cpp
void Aspose::Cells::Range::PutValue(const char16_t *stringValue, bool isConverted, bool setStyle)
```


| Parameter | Type | Description |
| --- | --- | --- |
| stringValue | const char16_t* | Input value |
| isConverted | bool | True: converted to other data type if appropriate. |
| setStyle | bool | True: set the number format to cell's style when converting to other data type |

## See Also

* Class [Vector](../../vector/)
* Class [Range](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
