DefineName
methodsDefines a custom name that will be available and used in formulas. If the function is not able to parse the name of the value, it will throw an error.
If the name of the sheet consists of multiple words, separated by space, the sheet name should be wrapped in quotes
'Sheet Name With Space'!$A$1.
A new name that will be defined. The names are case-insensitive. You can provide a name that already exists. In such cases, the value is silently updated. To make the name available only in one sheet, qualify it in the way demonstrated in the next example.
The value has to be a valid formula in the form of a string, that is, without a leading = sign. Generally, a name points to a reference. For a maximum compatibility, use references here that are fully qualified (include the name of the sheet to which they refer) and absolute (prefix both row and column with the $ sign).