Bewerken

Delen via


Bad interface for Implements: method does not return HRESULT

The Implements statement is used to specify an interface or class that will be implemented in the class module in which it appears. This error has the following cause and solution:

  • The interface or class contains a method name that returns a value that isn't of type HRESULT.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.