VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Between - Function

by Walter (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 26th October 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Between - Function

Rate Between - Function



Dim vLowB, vUpB
    On Error GoTo ERR_Betw
    vLowB = IIf(firstBound > secBound, secBound, firstBound)
    vUpB = IIf(secBound < firstBound, firstBound, secBound)
    If varTerm > vLowB Then
        If varTerm < vUpB Then
            Between = True
        End If
    End If
ERR_Betw:
End Function

Download this snippet    Add to My Saved Code

Between - Function Comments

No comments have been posted about Between - Function. Why not be the first to post a comment about Between - Function.

Post your comment

Subject:
Message:
0/1000 characters