Public Function VariantToString( _ ByVal vValue As Variant _ ) As String
VariantToString(Null) = "" VariantToString(EmptyValue) = "" VariantToString("Word") = "Word" VariantToString(123456) = "123456"See also:
NullToBlank Function CStr Function (Visual Basic)vValue: The value which is to be converted to a string. Function returns an empty string if vValue is Null or Empty. Function generates an error when passed things like object pointers which have no string representation.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.