How do I determine if an object does not exist?

How do I determine if an object does not exist?

Anonymous
Not applicable
258 Views
0 Replies
Message 1 of 1

How do I determine if an object does not exist?

Anonymous
Not applicable
I have optional variables but no way of determining if a variable was passed. I tried to use Public Sub DoSomething(optional oPart as ComponentOccurrence) if oPart Is Nothing Then ...... I get errors saying I can't do that and that Is Nothing doesn't work for that variable. How else would I do such a thing.
0 Likes
259 Views
0 Replies
Replies (0)