View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Pflugs Pflugs is offline
external usenet poster
 
Posts: 167
Default Testing an object varible for Nothing

I just did this today. Here's how I did it:

If something Is Nothing Then
...do stuff...
End If

Sincerely,
Pflugs

"Conan Kelly" wrote:

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