OFF97: Problems Moving Controls Between Programs

ID: Q167988


The information in this article applies to:


SYMPTOMS

If you drag, copy and paste, or cut and paste a control from a document in one of the programs listed at the beginning of this article to a document in another of the Office 97 programs (for example, from Microsoft Excel 97 to Microsoft Word 97), the following problems may occur:

The extent to which these problems occur varies from program to program.


CAUSE

These problems occur because the programs listed at the beginning of this article handle clipboard data differently when a control is dragged, copied and pasted, or cut and pasted from one program to another. In particular, you may notice that the dragged or pasted control acts like a drawing object or an AutoShape instead of a control.


RESOLUTION

Microsoft PowerPoint 97

You can drag, copy and paste, or cut and paste a control from a different program into a presentation in Microsoft PowerPoint 97 without any problems. The control continues to work correctly, and all of the correct menu items appear on the shortcut menu for the control.

Microsoft Access 97

You can drag, copy and paste, or cut and paste a control from a different program into a form in Microsoft Access 97 without any problems. The control continues to work correctly, and all of the correct menu items appear on the shortcut menu for the control.

Microsoft Word 97

If you drag, copy and paste, or cut and paste a control from a different program into a document in Microsoft Word 97, the following problems may occur:

To work around this problem, do the following:

  1. In the original program, copy the control.


  2. Switch to Microsoft Word 97.


  3. On the Edit menu, click Paste Special.


  4. In the Paste Special dialog box, click the first item in the As list box.

    Usually, the last word of the first item is "Control."


  5. Click OK.


When you do this, the control works normally.

Microsoft Excel 97

If you drag, copy and paste, or cut and paste a control from a different program into a worksheet in Microsoft Excel 97, the following problems may occur:

Note that using the Paste Special dialog box to paste the control does not prevent the problem from occurring when you click or right-click the pasted control.

Additional query words: OFF97 XL97 WORD97 PPT97 ACC97 ocx


Keywords          : xlui offinterop 
Version           : WINDOWS:97
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: May 25, 1999