ebString (constant)

Description

Number representing the type of a String variant.

Comments

This constant is equal to 8.

Example

Sub Main()
  Dim MyVariant as variant
  MyVariant = "This is a test."
  If VarType(MyVariant) = ebString Then
    MsgBox "Variant is a string."
  End If
End Sub

See Also

VarType (function); Variant (data type).

More information

E