Public Sub Min2EqualFast( _
ByRef rOne As Variant _
, ByVal vTwo As Variant _
) Assuming
Dim lngMin As Long
lngMin = 45
for example
Min2EqualFast lngMin, 30
leaves
lngMin = 30See also: Max2EqualFast Function
Min2 FunctionrOne: Argument which is set to the minimum value of the two arguments. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.