Is there something more elegant than the following line to check (in vba)
whether and object is set?
Dim frm as form
If Not frm Is Nothing Then
...
Thanks

Signature
sam
Paul Clement - 29 Jun 2005 16:14 GMT
¤ Is there something more elegant than the following line to check (in vba)
¤ whether and object is set?
¤
¤ Dim frm as form
¤
¤ If Not frm Is Nothing Then
¤ ...
No. Nothing is the cleanest method.
Paul
~~~~
Microsoft MVP (Visual Basic)