View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
vivmaha vivmaha is offline
external usenet poster
 
Posts: 42
Default Whats the equivalent of null in VBA?

Hi,
I have the following code:
Public parent As Node
Set parent = New Node
parent = Null

This doesnt work (Error 438). The error is on the last line, where I try to
assign a null value to parent. How do I assign null values to objects in VBA?

Btw, "Node" is defined as a class module.

Thanks.