Answers for "vba exists in collection"

VBA
0

vba collection contains

' Vba collection contains
Public Function ExistsInCollection(col As Collection, pKey As Variant) As Boolean
    On Error GoTo err
    ExistsInCollection = True
    IsObject (col.Item(pKey))
    Exit Function
err:
    ExistsInCollection = False
End Function
Posted by: Guest on January-25-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language