Adds a custom name to the name collection.
Syntax
'Declaration
Public Overloads Sub SetCustomName( _
ByVal As String, _
ByVal As Worksheet, _
ByVal As Integer, _
ByVal baseColumn As Integer, _
ByVal As String _
)
'Usage
Dim instance As Workbook
Dim name As String
Dim worksheet As Worksheet
Dim baseRow As Integer
Dim baseColumn As Integer
Dim formula As String
instance.SetCustomName(name, worksheet, baseRow, baseColumn, formula)
public void SetCustomName(
string ,
Worksheet ,
int ,
int baseColumn,
string
)
Parameters
- name
- The name of the custom name.
- worksheet
- The worksheet.
- baseRow
- The base row.
- baseColumn
- The base column.
- formula
- The formula that is used by the custom name.
See Also