FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : SheetName Property |
'Declaration Public Property SheetName As String
'Usage Dim instance As SheetView Dim value As String instance.SheetName = value value = instance.SheetName
public string SheetName {get; set;}
Exception | Description |
---|---|
System.ArgumentException | Specified sheet name is not valid; must not be null or empty |
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.
fpSpread1.Sheets.Count = 3; listBox1.Items.Add(fpSpread1.ActiveSheet.SheetName.ToString());
FpSpread1.Sheets.Count = 3 ListBox1.Items.Add(FpSpread1.ActiveSheet.SheetName.ToString())
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10