Aspose::Cells::Worksheet::SetName method

Worksheet::SetName(const U16String&) method

Gets or sets the name of the worksheet.

void Aspose::Cells::Worksheet::SetName(const U16String &value)

Remarks

The max length of sheet name is 31. And you cannot assign same name(case insensitive) to two worksheets. For example, you cannot set “SheetName1” to the first worksheet and set “SHEETNAME1” to the second worksheet.

See Also

Worksheet::SetName(const char16_t*) method

Gets or sets the name of the worksheet.

void Aspose::Cells::Worksheet::SetName(const char16_t *value)

Remarks

The max length of sheet name is 31. And you cannot assign same name(case insensitive) to two worksheets. For example, you cannot set “SheetName1” to the first worksheet and set “SHEETNAME1” to the second worksheet.

See Also