C
Conan Kelly
Hello all,
How do I test if an object variable is set to Nothing in an If...Then statement?
How do I test if an object variable is set to Nothing in an If...Then statement?
Bob Phillips said:Typo
if obj Is Nothing Then
'do something
--
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
Pflugs said:I just did this today. Here's how I did it:
If something Is Nothing Then
...do stuff...
End If
Sincerely,
Pflugs