Value | Meaning | |
1 | User-defined function (Function procedure) | |
2 | Macro (also known as Sub procedure) | |
3 or omitted | None (that is, the name doesn't refer to a user-defined function or macro) |
ActiveWorkbook.Names.Add _
Name:="tempRange", _
RefersTo:="=Sheet1!$A$1:$D$3"