Worksheet.SetSheetname Method

NanoXLSX

NanoXLSX

WorksheetSetSheetname Method

Validates and sets the worksheet name

Namespace:  NanoXLSX
Assembly:  NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
Syntax
C#
public void SetSheetname(
	string name
)

Parameters

name
Type: SystemString
Name to set
Exceptions
ExceptionCondition
FormatExceptionThrows a FormatException if the sheet name is too long (max. 31) or contains illegal characters [ ] * ? / \
See Also