View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Testing an object varible for Nothing

Typo

if obj Is Nothing Then
'do something

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Conan Kelly" <CTBarbarin at msn dot com wrote in message
...
Hello all,

How do I test if an object variable is set to Nothing in an If...Then

statement?

--
Thanks for any help anyone can provide,

Conan Kelly