N
NateBuckley
Hello,
I'm just wondering if it's possible to check to see if something exists
within a collection before proceeding, I can do it with putting various "On
error goto" statements, but I was just wondering if it's be possible to do
something like the following without having to send the process jumping to
labels.
if aCollection.Item("aKey") <> null then
'do something special
else
Msgbox "Yar! No Object 'ere!"
end if
I know that doesn't work, but perhaps there is a way like it?
Thanks in advance!
I'm just wondering if it's possible to check to see if something exists
within a collection before proceeding, I can do it with putting various "On
error goto" statements, but I was just wondering if it's be possible to do
something like the following without having to send the process jumping to
labels.
if aCollection.Item("aKey") <> null then
'do something special
else
Msgbox "Yar! No Object 'ere!"
end if
I know that doesn't work, but perhaps there is a way like it?
Thanks in advance!