OFF97: ActiveX Control Copy or Drag Between Applications Fails

Last reviewed: February 4, 1998
Article ID: Q176394
The information in this article applies to:
  • Microsoft Excel 97 for Windows
  • Microsoft Word 97 for Windows
  • Microsoft PowerPoint 97 for Windows

SYMPTOMS

When you insert an ActiveX control (for example, a command button) into a Microsoft Office 97 program, the following problems occur when you either copy and paste that ActiveX control or move it using a drag-and-drop operation.

From PowerPoint 97 or Excel 97 to Word 97

  • The code behind the ActiveX control does not copy with the control.

    -and-

  • The ActiveX control cannot be edited to reenter the lost code.

From Word 97 to PowerPoint 97 or Excel 97

The code behind the ActiveX control does not copy with the control.

WORKAROUND

To work around the problem, use one of the following methods when copying and pasting the ActiveX control or moving it using a drag-and-drop operation.

From PowerPoint 97 or Excel 97 to Word 97

Recreate the ActiveX control from the Control Toolbox (On the View menu, point to Toolbars, and then click Control Toolbox.) and either:

  • Retype the code that was lost.

    -or-

  • Copy and paste the code from PowerPoint 97 or Excel 97 to Word 97.

From Word 97 to PowerPoint 97 or Excel 97

  • Retype the code that was lost.

    -or-

  • Copy and paste the code from Word 97 to PowerPoint 97 or Excel 97.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: vbe
Keywords : word8 word97 GnrlVB IntpToolbr OffVBA
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbworkaround


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: February 4, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.