IsString

Public Function IsString(ByVal Expression As Variant) As Boolean

Returns True if the specified variable/expression is of type String.

Dim lVariant As Variant

SendDebug IsString(lVariant) ' Sends out 'False': lVariant is Empty.

lVariant = "Hello world"
SendDebug IsString(lVariant) ' Sends out 'True'

See also: