Hi Bob,
Having assigned an object to an object to a variable, deleting the object
does not remove the variable pointer from memory and so the variable will
continue to be 'not nothing'. You can confirm that with objptr(cell).
I doubt there is a cleaner way to test if the object still exists other than
to attempt to refer to one of the variable's anticipated properties under an
error handler, though I suspect there is an API approach. I think the
method you posted is just fine!
Regards,
Peter T
>I did the following:
> Sub test()
[quoted text clipped - 25 lines]
>
> Bob