Look at the code. See oApp is defined as an Outlook.Application? Now you have molTrustedApp which appears to be an Outlook.Application too. Just switch them out and use only molTrustedApp.