INFO: Excel 2000 Needs Metafile Format to Insert Object

ID: Q250336


The information in this article applies to:
  • Microsoft Excel 2000


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 : kbGrpDSO kbOffice2000 kbexcel2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: January 31, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.