XL97: Copying ActiveX Control Loses Code Behind Control

Last reviewed: January 9, 1998
Article ID: Q168890
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SYMPTOMS

When you create a copy of an ActiveX control by copying and pasting it to another location, any Visual Basic for Applications code associated with the events of the control will not be copied to the new instance of the control.

STATUS

This behavior is by design of Microsoft Excel 97.

REFERENCES

For more information about using ActiveX controls, click the Index tab in Microsoft Excel Help, type the following text

   ActiveX controls, overview

and then double-click the selected text to go to the "About adding buttons, check boxes, and other controls" topic.


Additional query words: XL97
Keywords : xldraw xlui xlvbainfo kbcode kbmacro kbui
Technology : kbole
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 9, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.