Dim ClassExample As AppLib.ExampleClass : Set ClassExample = AppLib.GetInstance.ExampleClass() : Set ClassExample = Nothing End Function