Answers for "vba collection contains item"

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 collection contains item"

Code answers related to "VBA"

Browse Popular Code Answers by Language