Muokkaa

Jaa


The edit may make the object module incompatible with the previously specified compatible ActiveX component

If a Compatible ActiveX component already exists as a previously distributed executable file or dynamic-link library (DLL), you must be careful not to change its interface. This warning has the following cause and solution:

  • You are trying to edit the code of an object module that already is represented by an executable file.

    If you make changes that affect the interface to the object, the class will not be upward compatible with the previous version and so it will not be possible to use the new version in place of the old version for compiled code.

    In Visual Basic, the name of the Compatible ActiveX component appears in the dialog box displayed when you choose Project Options from the Tools menu.

    Important To accept the edit, click OK in the error message dialog box. If you want to undo the edit, click the Cancel button.

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.