Bad interface for Implements: method does not return HRESULT

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

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).