Created
January 11, 2018 06:57
-
-
Save KirillPashkov/200cc11d598c7bedba7d8591ec049e3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function FindInArray(InputArray,LookupValue) | |
Dim Found: Found = False | |
For i = 0 To UBound(InputArray) | |
If InputArray(i) = LookupValue Then | |
Found = True | |
Exit For | |
End If | |
Next | |
FindInArray = Found | |
End Function | |
Dim TestArray: TestArray = Array("63","33","50","13","38","66","14","03") | |
FindInArray(TestArray, "33") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment