vba check if class implements interface

The solution for “vba check if class implements interface” can be found here. The following code will assist you in solving the problem.

If TypeOf objectParameter Is IMyInterface Then
‘do stuff
End If

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts