Public Function LengthOfType( _
ByVal vAny As Variant _
) As Long LengthOfType(123) = 2
LengthOfType(123@) = 8
LengthOfType("12345") = 5
LengthOfType(Null) = 0See also: VarTypeToLength Function
vbArray Property, et. al.vAny: Function returns the length of the in-memory representation of the value. Function returns 0 (zero) if vAny is an Array, Empty, Error, Null, or Variant. Function returns Null if the data type is unrecognized. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.