Error when using CreateObject(“NovellGroupwareSession”) in VBA


I have written a code to send an email using groupwise (as mentioned in the GWDevGuide) and has always been working fine until recently when it stopped working.

The only change that happened is the upgrade of the MS Office 365 applications to build 16.

debugging the code will always stop the CreateObject line below:

Dim ogwApp 
Set ogwApp = CreateObject("NovellGroupWareSession")

I uninstalled the Office and reinstalled the earlier version and it started to work fine again. noting that  the reference to the Groupware Type Library is checked.

Can anyone please help with this?