Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / SheetName Property

In This Topic
    SheetName Property (SheetView)
    In This Topic
    Gets or sets the name of the sheet.
    Public Property SheetName As String
    Dim instance As SheetView
    Dim value As String
    instance.SheetName = value
    value = instance.SheetName
    public string SheetName {get; set;}

    Property Value

    String containing the name of the sheet
    A sheet name must be 31 or fewer characters, not blanks and cannot contain the characters []*?/\

    This is the name that appears in the sheet name tab.

    This is also the name that is used when exporting sheets to Excel. If exporting to Excel, be sure that the sheet name does not have characters considered invalid by Excel. Refer to the remarks with the SaveExcel overload list for more information.

    Sheet names may have spaces. When referring to a sheet name in a cell reference, be sure to use single quotes if the sheet name has a space in it.

    This example illustrates the use of this member by returning the name of the active sheet.
    fpSpread1.Sheets.Count = 3;
    FpSpread1.Sheets.Count = 3
    See Also