Overload | Description |
---|---|
GetCustomName(String,Int32,Int32) | Gets the string value for a custom name on this sheet from the model. |
GetCustomName(String) | Gets the expression value for a custom name on this sheet from the model. |
Custom names are identifiers to represent information in the spreadsheet. A custom name can refer to a cell, a range of cells, a computed value, or a formula. Methods that deal with custom names provide the same functionality as the Name in Microsoft Excel.
The name can contain up to 255 characters and can include letters, numbers, or underscores. The first character must be a letter or an underscore.
For more information on on using custom names in formulas, refer to Custom Names in Formulas.
Target Platforms: 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
Reference
SheetView ClassSheetView Members
AddCustomName Function
Custom Names in Formulas