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.