Public Function VarTypeToLength( _
ByVal vVarType As Variant _
) As Variant VarTypeToLength(VarType(34%)) = 2
VarTypeToLength(VarType(34.5!)) = 4
VarTypeToLength(VarType("A string.")) = 0 ' #3See also: LengthOfType Function
VarTypeToString Function
vbArray Property, et. al.
VarType Function (Visual Basic)vVarType: The numeric constant which represents a specific Visual Basic data type. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.