freeing a variant type

I have an array of variants which i use for different objects. When I don't need one of the objects any more I need to "unassign" the variant entry which held that object.

I tried using: Set Variant = Empty, but that doesn't work.

What do I do?
tflarsenAsked:
Who is Participating?
 
bruncheyCommented:
If they are holding an object set the object to nothing like this....

      Set Variant = Nothing

This will only work if the variable in that specific variant is an object.

0
 
tflarsenAuthor Commented:
Edited text of question
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.