Public Function NullToValue( _
ByVal vValue As Variant _
, ByVal vReplace As Variant _
) As Variant NullToValue(Null, 0) = 0
NullToValue(Null, "N/A") = "N/A"
NullToValue("Word", "N/A") = "Word"
NullToValue(123456, 12) = 123456See also: NullToBlank Function
NullValue PropertyvValue: The value which is to be returned as-is unless it is Null, in which case vReplace will be returned. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.