Hi,
you can use:
If targetNode Is Nothing then
'not set
else
'set
end if

Signature
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
> Is there a way to test if an object variable is set? I have a SET
> statement in an For Each loop and would like to check if the object
[quoted text clipped - 8 lines]
> End If
> Next
David C. Holley - 04 Sep 2005 15:02 GMT
Should have none I was trying IsNothing() duh
> Hi,
> you can use:
[quoted text clipped - 4 lines]
> 'set
> end if