
VB's equivalent voor VBA function: IsObjectValid
For Form objects, you might want to loop through the Forms collection and
check for it's name..
For most other objects, you say...
If MyObject Is Nothing Then
'not loaded
End If
Quote:
> Hello
> I would like to know what VB's equivalent voor the VBA function
> IsObjectValid is.
> Because I want to check if a form is still loaded so I'll have to check if
> the object is still valid. I've searched everywhere in the helpfile, but
> couldn't find such a function.
> Who can help me?
> Thanks in advance,
> Peter