Name Class
Contents
[
Hide
]Name class
Represents a defined name for a range of cells.
type Name struct {
ptr unsafe.Pointer
}
Constructors
Method | Description |
---|
Methods
Method | Description |
---|---|
IsNull | Checks whether the implementation object is nullptr. |
GetComment | Gets and sets the comment of the name.Only applies for Excel 2007 or higher versions. |
SetComment | Gets and sets the comment of the name.Only applies for Excel 2007 or higher versions. |
GetText | Gets the name text of the object. |
SetText | Gets the name text of the object. |
GetFullText | Gets the name full text of the object with the scope setting. |
GetRefersTo | Returns or sets the formula that the name is defined to refer to, beginning with an equal sign. |
SetRefersTo_String | Returns or sets the formula that the name is defined to refer to, beginning with an equal sign. |
GetR1C1RefersTo | Gets or sets a R1C1 reference of the |
SetR1C1RefersTo | Gets or sets a R1C1 reference of the |
GetRefersTo_Bool_Bool | Get the reference of this Name. |
GetRefersTo_Bool_Bool_Int_Int | Get the reference of this Name based on specified cell. |
SetRefersTo_String_Bool_Bool | Set the reference of this Name. |
IsReferred | Indicates whether this name is referred by other formulas. |
IsVisible | Indicates whether the name is visible. |
SetIsVisible | Indicates whether the name is visible. |
GetSheetIndex | Indicates this name belongs to Workbook or Worksheet.0 = Global name, otherwise index to sheet (one-based) |
SetSheetIndex | Indicates this name belongs to Workbook or Worksheet.0 = Global name, otherwise index to sheet (one-based) |
ToString | Returns a string represents the current Range object. |
GetRange | Gets the range if this name refers to a range. |
GetRange_Bool | Gets the range if this name refers to a range |
GetRange_Int_Int_Int | Gets the range if this name refers to a range.If the reference of this name is not absolute, the range may be different for different cell. |