## WorksheetCollection::CreateRange(const U16String\&, int32_t) method


Creates a [Range](../../range/) object from an address of the range.

```cpp
Range Aspose::Cells::WorksheetCollection::CreateRange(const U16String &address, int32_t sheetIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| address | const U16String\& | The address of the range. |
| sheetIndex | int32_t | The sheet index. |

## ReturnValue

A [Range](../../range/) object

## See Also

* Class [Range](../../range/)
* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [WorksheetCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## WorksheetCollection::CreateRange(const char16_t*, int32_t) method


Creates a [Range](../../range/) object from an address of the range.

```cpp
Range Aspose::Cells::WorksheetCollection::CreateRange(const char16_t *address, int32_t sheetIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| address | const char16_t* | The address of the range. |
| sheetIndex | int32_t | The sheet index. |

## ReturnValue

A [Range](../../range/) object

## See Also

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