I'm using a collection, however, if lets say the collection was declared but never assigned any other values, what would be the best way to detect that, I have
on error resume next
if mycollection(1) = Empty then msgbox "collection empty"
is this the best thing to do? so far this does work in my code, but i dont know if this is technically the correct way to do it, thanks!!
on error resume next
if mycollection(1) = Empty then msgbox "collection empty"
is this the best thing to do? so far this does work in my code, but i dont know if this is technically the correct way to do it, thanks!!