Appending '$' to any identifier forces it to the String data type, but this usage is obsolete and should only appear when differentiating
string-specific functions from variant functions, such as Left$()
versus Left()
.
Instead, Strings should be explicitly declared with the String datatype.
Noncompliant code example
Dim Text$ As String
Compliant solution
Dim Text As String