Xceed Workbooks for .NET v1.4 Documentation
Name Property (Worksheet)


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Worksheet Class : Name Property

Gets or sets the Worksheet's name.

Syntax
'Declaration

 

Public Property Name As String
'Usage

 

Dim instance As Worksheet

Dim value As String

 

instance.Name = value

 

value = instance.Name
public string Name {get; set;}
Remarks
The name cannot: 
• Be blank. 
• Contain more than 31 characters. 
• Contain any of the following characters: / \ ? * : [ ] 
• Begin or end with an apostrophe ('), but they can be used in between text or numbers in a name. 
• Be named "History". This is a reserved word that Excel uses internally. 
• Be the same as another Worksheet’s name.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Worksheet Class
Worksheet Members