Public Function BlankToValue( _
ByVal vValue As Variant _
, ByVal vReplace As Variant _
) As Variant BlankToValue("", "NONE") = "NONE"
BlankToValue(Null, "NONE") = "NONE"
BlankToValue("Word", "NONE") = "Word"
BlankToValue(Null, 456) = 456
BlankToValue(123, 456) = 123See also: BlankToNull Function
NullValue PropertyvValue: The value which is to be replaced in certain limited cases. Function returns vReplace is vValue is Empty, Null, or an empty string. Function returns vValue unchanged in all other cases. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.