Update
After examining the NameRulesUnicode64k.xlsm spreadsheet in excel-names, it appears that my NameIsValid() is in close agreement. When examining whether or not a single character is OK as a valid name, there are only 2 discrepancies across 65,535 characters:
| Chr-Code |
Char |
Other Case |
OK |
... |
NameIsValid() |
| 8217 |
’ |
|
FALSE |
... |
TRUE |
| 12288 |
|
|
TRUE |
... |
FALSE |
While neither I nor the spreadsheet can vouch for names of greater length, I suspect this convergence will hold true in those cases too.
Question
Should I hard code these two exceptions into NameIsValid(), among the ElseIf filters that precede the Application.Evaluate()?
Background