Microsoft KB Archive/250336

= INFO: Excel 2000 Needs Metafile Format to Insert Object =

Article ID: 250336

Article Last Modified on 10/2/2003

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition

-



This article was previously published under Q250336



SUMMARY
Microsoft Excel 2000 can insert "embeddable" OLE objects from the clipboard or OLE drag-and-drop operation only if the OLE object server supports the CF_ENHMETAFILE or CF_METAFILEPICT formats in its IDataObject implementation. If these formats are unavailable, Excel cancels the insert.

This behavior differs from previous versions of Excel. Both Excel 95 and Excel 97 ask for a CF_DIB or CF_BITMAP if no metafile format is available. This is no longer true for Excel 2000.

Because OLE object servers are expected to provide a metafile presentation format, developers seeking to insert OLE objects into Excel 2000 are advised to support one or both metafile formats.

Additional query words: GetData COleClientItem DoDragDrop ObjectDescriptor

Keywords: kbinfo KB250336

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.