Click to See Complete Forum and Search --> : Testing an object variable...


RichardCouturier
October 16th, 2001, 01:51 PM
How to validate if an object variable has been instanciated ? (Value different form Nothing)

michi
October 16th, 2001, 02:26 PM
Private obj As Object

Private Sub CheckObject()

If obj Is Nothing Then
MsgBox "Nothing"
Else
MsgBox "Something"
End If

End Sub

Regards,

Michi