Public Function Min(ByVal Paramarray Values As Double)
Returns the minimum value of the specified numeric values.
Dim lYear As Long = Min(pSpecifiedYear, Year(Now)) 'Make sure the year does not exceed the current year.
©2024 Blue Polar. All rights reserved.